joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe10
Capabilities:
Allocate or change rwx memory
Map section object

Disassembly:
sub esp, 0x28
xor eax, eax
mov dword [esp + 0x10], 0x18
push 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
push 0x8000000
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 0x40
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0
push eax
push 0xf001f
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
je 0x40fe75
or eax, 0xffffffff
add esp, 0x28
ret 0x18
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov edx, dword [esp + 0x34]
or eax, edx
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
mov dword [esp + 0x10], 0
mov dword [esi], 0
mov dword [esi + 4], 0
je 0x40ff43
cmp dword [0x4467d4], 0
je 0x40ff43
mov ebp, dword [esp + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov ecx, dword [0x4471f8]
mov eax, ecx
mov edi, dword [0x4471fc]
or eax, edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jne 0x40ff03
push 0x4169c8
call fcn.004154a0
push edx
push eax
call fcn.00412340
mov edi, edx
mov ecx, eax
add esp, 0xc
mov dword [0x4471f8], ecx
or eax, edi
mov dword [0x4471fc], edi
je 0x40ff7b
push 0
push 0x40
push 0
push 0
push 0
push 2
lea eax, [esp + 0x54]
cdq
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, esi
cdq
push edx
push eax
mov eax, dword [esp + 0x78]
cdq
push edx
push eax
mov eax, ebp
cdq
push edx
push eax
push 0xa
push edi
push ecx
call fcn.00414f50
add esp, 0x5c
mov ecx, eax
jmp 0x40ff77
push 0x40
push 0
push 2
lea eax, [esp + 0x1c]
mov dword [esp + 0x50], ecx
push eax
push 0
push 0
push 1
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x58]
push dword [esp + 0x30]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ecx, eax
mov eax, dword [esp + 0x44]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
test ecx, ecx
je 0x40ff89
pop edi
pop esi
mov eax, 0xfffffffe
pop ebp
add esp, 0x28
ret 0x18
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push 0x40
push 0
push 2
push ecx
push 0
push 0
push 0
push eax
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [esp + 0x30]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
pop edi
sbb esi, esi
and esi, 0xfffffffd
mov eax, esi
pop esi
pop ebp
add esp, 0x28
ret 0x18
Function at 0x410f40
Capabilities:
Delete file

Disassembly:
mov ecx, dword [0x4467dc]
push esi
push edi
xor edi, edi
test ecx, ecx
je 0x410fc6
cmp dword [0x4467e0], edi
je 0x410fc6
call fcn.004133c0
test eax, eax
jns 0x410f64
mov edi, 1
mov ecx, dword [0x4467e0]
push 0
push 1
push 0
call fcn.00411300
test eax, eax
jns 0x410f7a
inc edi
mov esi, dword [0x4467dc]
test esi, esi
je 0x410fb3
mov ecx, esi
call fcn.004133c0
mov ecx, dword [esi + 0x20]
mov eax, ecx
or eax, dword [esi + 0x24]
je 0x410fa5
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x2bc
push esi
call fcn.00401030
add esp, 8
push 0x418
push dword [0x4467e0]
call fcn.00401030
add esp, 8
mov eax, dword [0x4467e8]
test eax, eax
je 0x410fdb
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x4467e8]
mov ecx, dword [0x4467f4]
test ecx, ecx
je 0x410ff6
push 0x2328
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x4467e8]
mov esi, dword [0x4467e4]
test esi, esi
je 0x411043
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41101e
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
mov dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x24
push esi
call fcn.00401030
mov eax, dword [0x4467e8]
add esp, 8
test eax, eax
je 0x41104e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [0x446bb8], 0
je 0x411071
mov esi, dword [sym.imp.KERNEL32.dll_Wow64EnableWow64FsRedirection]
push 0
call esi
push 0x446bb8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
call esi
test edi, edi
pop edi
sete al
pop esi
ret
Function at 0x411080
Capabilities:
Create pipe
Create thread

Disassembly:
sub esp, 0x520
push esi
call fcn.00412400
test eax, eax
js 0x4112e8
push 0x24
call fcn.00401010
mov esi, eax
add esp, 4
test esi, esi
je 0x4110d2
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x400
push 8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0x40
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x18], eax
jmp 0x4110d4
xor esi, esi
cmp byte [0x430f38], 0
mov dword [0x4467e4], esi
je 0x41117b
push 0x4466d0
lea eax, [esp + 0x118]
push str..pipeDP_ls
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x114]
push 0
push 0x7530
push 0x800
push 0x800
push 1
push 0
push 0x40000001
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [0x4467fc], eax
cmp eax, 0xffffffff
je 0x411174
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x4467f8], eax
cmp eax, 0xffffffff
jne 0x41117b
push dword [0x4467fc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4467fc], 0
mov byte [0x430f38], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [0x4467e8], eax
call esi
mov dword [0x4467ec], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x414820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x100
mov dword [0x4467f4], eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00401670
push 0x208
lea eax, [esp + 0x32c]
push 0
push eax
call fcn.00401670
add esp, 0x18
lea eax, [esp + 0x14]
push 0x4462d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x416c6c
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x31c]
push eax
lea eax, [esp + 0x18]
push eax
push 0x4462d0
call fcn.00412890
test eax, eax
js 0x4112e8
mov eax, dword [0x4467dc]
push 0x208
mov dword [eax + 0x2b8], 0x4146b0
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x4467dc]
add eax, 0xb0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov esi, dword [0x4467dc]
cmp dword [esi + 8], 0
jne 0x4112a1
push dword [0x430f3c]
mov ecx, esi
push dword [0x4462c8]
push 1
call fcn.0040fbd0
test eax, eax
js 0x4112e8
push 0
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0x2220b4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4112e8
mov esi, dword [0x4467dc]
push 0
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x10000
push eax
push 0x2220d0
push dword [esi + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
sub eax, 1
js 0x4112e8
mov al, 1
pop esi
add esp, 0x520
ret
xor al, al
pop esi
add esp, 0x520
ret
Function at 0x411300
Capabilities:
Set registry value

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x410], 0
je 0x41131e
cmp dword [edi + 0x414], 0
jne 0x41135f
push 0x4161d8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp dword [edi + 0x410], 0
mov ebx, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x411348
push str.NtLoadDriver
push ebx
call ebp
mov dword [edi + 0x410], eax
cmp dword [edi + 0x414], 0
jne 0x41135f
push str.NtUnloadDriver
push ebx
call ebp
mov dword [edi + 0x414], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ebp, [edi + 0x208]
push ebp
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4114b8
cmp dword [esp + 0x1c], 1
je 0x4113ac
cmp byte [esp + 0x234], al
jne 0x4113ac
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411410
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push edi
push 3
push ebx
push str.ImagePath
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4113d7
or ebx, 0xffffffff
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
push 4
push 0
push str.Type
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4113fe
dec ebx
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
js 0x4114b8
push dword [0x4310cc]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebp
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov bl, byte [esp + 0x230]
lea ecx, [esp + 0x14]
add eax, eax
mov word [esp + 0x14], ax
add eax, 2
mov word [esp + 0x16], ax
push ecx
test bl, bl
je 0x411463
mov eax, dword [edi + 0x410]
jmp 0x411469
mov eax, dword [edi + 0x414]
call eax
cmp byte [esp + 0x238], 0
mov esi, eax
jne 0x411482
push ebp
push 0x80000002
call fcn.0040e260
test bl, bl
je 0x41149d
cmp esi, 0xc000010e
jne 0x4114a5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x21c
ret 0xc
cmp esi, 0xc0000034
je 0x41148e
test esi, esi
je 0x41148e
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x21c
ret 0xc
Function at 0x411550
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x410
mov edx, dword [esp + 0x414]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x424]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0xc], ebx
mov dword [edi], 0x254
mov eax, dword [edx]
test eax, eax
je 0x4116e0
mov eax, dword [eax - 8]
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4116e0
xor eax, eax
mov dword [esp + 0x10], eax
push esi
mov esi, dword [edx]
add esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4116c9
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x20]
push eax
push 0x400
lea eax, [esp + 0x2c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4116ac
cmp dword [esp + 0x1c], 0x400
jne 0x4116ac
mov eax, dword [esp + 0x5c]
xor edx, edx
mov ebx, 0x20b
movzx ecx, word [esp + eax + 0x64]
or ecx, dword [esi]
and ecx, 0xfffff3ff
or ecx, 1
mov dword [esi], ecx
cmp word [esp + eax + 0x38], bx
mov ebx, dword [esp + 0x10]
setne dl
dec edx
and edx, 0x400
add edx, 0x400
or edx, ecx
mov eax, edx
mov dword [esi], edx
and eax, 0x1004
cmp eax, 4
je 0x4116ac
cmp byte [esp + 0x430], 0
jne 0x41163d
test edx, 0x800
jne 0x4116ac
cmp byte [esp + 0x42c], 0
je 0x411655
and edx, 0x808
cmp edx, 0x800
je 0x4116ac
mov eax, dword [esi + 8]
test eax, eax
je 0x411661
mov ecx, dword [eax - 8]
jmp 0x411663
xor ecx, ecx
mov eax, dword [edi]
lea eax, [eax + ecx*2]
add eax, 0x37
and eax, 0xfffffff0
mov dword [edi], eax
mov eax, dword [esi]
test al, 2
je 0x41168f
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [edi]
add eax, 0xf
add eax, ecx
and eax, 0xfffffff0
mov dword [edi], eax
mov eax, dword [esi]
test eax, 0x400
je 0x411697
inc ebp
mov edx, dword [esp + 0x424]
test eax, 0x800
je 0x4116c9
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x4116c9
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x424]
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esp + 0x14]
add eax, 0xc
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
jne 0x411595
pop esi
mov eax, dword [0x4467d4]
test eax, eax
je 0x4116f3
cmp byte [esp + 0x428], 0
je 0x4116fb
test ebp, ebp
je 0x4116fb
mov cl, 1
jmp 0x4116fd
xor cl, cl
test eax, eax
je 0x41170d
test ebx, ebx
jne 0x411709
test ebp, ebp
je 0x41170d
mov bl, 1
jmp 0x41170f
xor bl, bl
test cl, cl
je 0x411724
call fcn.004158f0
mov ecx, dword [edi]
add ecx, 0xf
add eax, ecx
and eax, 0xfffffff0
mov dword [edi], eax
test bl, bl
je 0x411739
call fcn.00415900
mov ecx, dword [edi]
add ecx, 0xf
add eax, ecx
and eax, 0xfffffff0
mov dword [edi], eax
mov eax, dword [esp + 0xc]
pop edi
add eax, ebp
pop ebp
pop ebx
add esp, 0x410
ret 0x10
Function at 0x4134a0
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x41352c
cmp dword [edi + 8], 0
je 0x41352c
mov ecx, dword [edi + 4]
push ebx
xor ebx, ebx
push esi
cmp ecx, 0xffffffff
je 0x4134d0
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0xc]
mov dword [edi + 4], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4134ea
call esi
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x4134fb
call esi
mov ebx, eax
push dword [edi + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [edi + 8]
call esi
lea eax, [ebx - 0x430]
mov dword [edi + 8], 0
neg eax
mov dword [edi + 0xc], 0
pop esi
sbb eax, eax
and eax, ebx
pop ebx
pop edi
add esp, 0x1c
ret
mov eax, 6
pop edi
add esp, 0x1c
ret
Function at 0x414f50
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x414f78
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x414f86
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x414f9f
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x414fad
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x414fc6
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x414fd4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x414fed
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x414ffb
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x415042
add dword [esp], 5
retf

Function at 0x4150d0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push ebx
push esi
push edi
call fcn.004154a0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
test eax, eax
jne 0x4150f3
test edx, edx
je 0x415408
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], edx
push 0x33
call 0x415109
add dword [esp], 5
retf
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415420
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x41548d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x41543a
test eax, eax
je 0x41548d
cmp dword [ebp + 0x14], 0
je 0x41548d
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
push 0x33
call 0x41544d
add dword [esp], 5
retf
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4154a0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4471d0]
sub esp, 0x5c4
mov edx, dword [0x4471d4]
push ebx
push esi
push edi
test eax, eax
jne 0x4157c0
test edx, edx
jne 0x4157c0
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
push 0x33
call 0x4154d4
add dword [esp], 5
retf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415860
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4314f0]
push esi
push edi
mov edi, edx
mov esi, ecx
cmp edi, eax
jbe 0x415871
mov edi, eax
mov edx, edi
test edi, edi
jle 0x41589e
push ebx
mov ebx, 0x4314f8
sub ebx, esi
nop
mov al, dl
lea esi, [esi + 1]
shl al, 2
lea ecx, [eax + edx]
dec edx
shl cl, 3
add cl, byte [ebx + esi - 1]
xor cl, 0xd8
mov byte [esi - 1], cl
test edx, edx
jg 0x415880
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x4158b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4314f4]
push esi
mov esi, edx
cmp esi, eax
jbe 0x4158be
mov esi, eax
mov edx, esi
test esi, esi
jle 0x4158e8
push edi
mov edi, 0x432038
sub edi, ecx
lea esp, [esp]
movzx eax, dl
lea ecx, [ecx + 1]
imul eax, eax, 0x29
dec edx
add al, byte [edi + ecx - 1]
xor al, 0xd7
mov byte [ecx - 1], al
test edx, edx
jg 0x4158d0
pop edi
mov eax, esi
pop esi
ret
Function at 0x40101f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1a40110]
jne 0x401029
repz ret
jmp fcn.004012ab

Function at 0x404e11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1a40110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004013b1
and dword [ebp - 0x14], 0
cmp dword [0x1a43224], 0
mov dword [ebp - 0x18], eax
jne 0x404ec4
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404f6c
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404f6c
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1a43224], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1a43228], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1a4322c], eax
call edi
push eax
call esi
mov dword [0x1a43234], eax
test eax, eax
je 0x404ec4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1a43230], eax
mov eax, dword [0x1a43230]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x404f1d
cmp dword [0x1a43234], ecx
je 0x404f1d
push eax
call esi
push dword [0x1a43234]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404f1d
test ebx, ebx
je 0x404f1d
call edi
test eax, eax
je 0x404f14
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404f14
test byte [ebp - 8], 1
jne 0x404f1d
or dword [ebp + 0x10], 0x200000
jmp 0x404f50
mov eax, dword [0x1a43228]
cmp eax, dword [ebp - 0x18]
je 0x404f50
push eax
call esi
test eax, eax
je 0x404f50
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404f50
mov eax, dword [0x1a4322c]
cmp eax, dword [ebp - 0x18]
je 0x404f50
push eax
call esi
test eax, eax
je 0x404f50
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1a43224]
call esi
test eax, eax
je 0x404f6c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404f6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040101f
leave
ret
Function at 0x44cb92
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea eax, [eax + 0xc]
mov edx, eax
cmp edx, eax
je 0x44cbec
push eax
push 0x44b6f6
call fcn.0044cc2a
push 7
push 0x4b10bc
push dword [eax + 0x30]
call fcn.0044cf83
cmp eax, 0
jne 0x44cbc6
inc eax
jmp 0x44cbee
push 0x44b70e
call fcn.0044cc2a
push 7
push 0x4b10bc
push dword [eax + 0x30]
call fcn.0044cf83
cmp eax, 0
jne 0x44cbe7
inc eax
jmp 0x44cbee
pop eax
mov eax, dword [eax]
jmp 0x44cba0
xor eax, eax
ret

Function at 0x44cc04
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 0x68]
and al, 0x70
cmp al, 0x70
sete al
movzx eax, al
ret

Function at 0x44cc18
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
setne al
movzx eax, al
ret

Function at 0x44cc2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x4b10bc]
mov esi, dword [ebp + 8]
lodsw ax, word [esi]
xor ax, 0xc9
stosw word es:[edi], ax
cmp ax, 0
jne 0x44cc38
pop edi
pop esi
leave
ret 4

Function at 0x44cc4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x4b10bc]
mov esi, dword [ebp + 8]
lodsb al, byte [esi]
xor al, 0xc9
stosb byte es:[edi], al
cmp al, 0
jne 0x44cc5a
pop edi
pop esi
leave
ret 4

Function at 0x44ce8e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov edi, dword [edx + ebx]
test edi, edi
je 0x44cedf
add edi, ebx
xchg esi, eax
push ecx
xor eax, eax
lea ecx, [eax - 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg esi, eax
mov esi, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
pop ecx
jne 0x44cedf
sub ecx, dword [eax + 0x18]
neg ecx
mov edx, dword [eax + 0x24]
add edx, ebx
movzx edx, word [edx + ecx*2]
mov eax, dword [eax + 0x1c]
add eax, ebx
mov eax, dword [eax + edx*4]
add eax, ebx
jmp 0x44cee6
add edx, 4
loop 0x44cea6
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x44ceed
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea ebp, [eax + 0xc]
mov eax, dword [ebp]
mov esi, dword [eax + 0x30]
movzx ecx, word [eax + 0x2e]
mov edi, dword [esp + 0x10]
mov dx, word [esi]
cmp dx, word [edi]
je 0x44cf39
cmp dx, 0x41
jb 0x44cf1e
cmp dx, 0x5a
jbe 0x44cf24
cmp dx, 0x61
jb 0x44cf30
cmp dx, 0x7a
ja 0x44cf30
xor dx, 0x20
jmp 0x44cf32
jmp 0x44cf4c
cmp dx, word [edi]
je 0x44cf39
jmp 0x44cf4c
add edi, 2
add esi, 2
sub ecx, 2
cmp ecx, 0
jne 0x44cf0a
mov eax, dword [eax + 0x18]
jmp 0x44cf54
mov eax, dword [eax]
cmp ebp, eax
jne 0x44ceff
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x4ac81e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
call sub.KERNEL32.DLL_GetTickCount
mov esi, 0x1f4
mov dword [0x4b1200], eax
push esi
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x4b1204], eax
sub eax, dword [0x4b1200]
xor ecx, ecx
cmp eax, esi
pop esi
setge cl
dec ecx
mov eax, ecx
ret