joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a518
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a550]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a531
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a540
or bl, 4
test esi, 0x20000000
je 0x44a54b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450c14
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450c26
add esp, 0xfffffff0
call fcn.00403a78
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dc8c
mov eax, dword [0x45dec4]
mov dword [eax + 4], ebx
mov dword [eax], 0x450fb8
mov eax, dword [0x45ded0]
mov dword [eax + 4], ebx
mov dword [eax], 0x450fc4
mov eax, ebx
call fcn.00450fd0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415650]
call fcn.00403728
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415650]
call fcn.00403728
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415650]
call fcn.00403728
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415650]
call fcn.00403728
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415650]
call fcn.00403728
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44d3e8
push eax
push 0
push 0
mov eax, dword [0x45e024]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422cd4]
call fcn.0042413c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422cd4]
call fcn.0042413c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422cd4]
call fcn.0042413c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451420
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4512e8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4512e8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4512e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450d63
call fcn.00403ad0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4510cc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451277
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451258
mov dl, 1
mov eax, dword [0x415bf8]
call fcn.00403728
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404554
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451247
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043f034
test al, al
je 0x45123a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x451288
lea eax, [ebp - 0x254]
call fcn.00409614
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45123a
xor eax, eax
push ebp
push 0x451233
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4512c0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45121c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047c4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45121c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45123a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45113d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419e7c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45127e
lea eax, [ebp - 0x260]
call fcn.00404554
ret

Function at 0x451bc0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45fc80]
cmp byte [eax + 0xa5], 0
jne 0x451c31
cmp dword [0x45fc98], 0
jne 0x451bf2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451b7c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45fc98], eax
cmp dword [0x45fc94], 0
jne 0x451c0d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45fc94], eax
cmp dword [0x45fc9c], 0
jne 0x451c31
push esp
push 0
push 0
push 0x451b20
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45fc9c], eax
pop edx
ret
Function at 0x4522c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45fc80]
cmp dword [eax + 0x30], 0
je 0x45236e
cmp dword [ebx + 0x94], 0
jne 0x452368
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452254
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452368
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45232e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452368
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417b44
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45233d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452ecc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452f01
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404644
jmp 0x452f0e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453e9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453edd
mov eax, esi
call fcn.0043a83c
test al, al
je 0x453edd
mov eax, dword [ebx + 0x84]
call fcn.0043a5dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453edd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a5dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4064e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40650c
xor eax, eax
test eax, eax
je 0x40651f
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40651f
xor ecx, ecx
jmp 0x406522
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406609
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x406640
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40661a
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406615
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406671
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x406653
pop edi
not eax
pop esi
ret 0xc

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40a60b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40a61a
pop dword [ebp - 0x4c]
mov eax, 0x2cc93c12
sub eax, 0x2c8895f8
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x40d4a0f8
sub dword [ebp - 0x5c], 0xf2825bad
mov dword [ebp - 0x58], 0xa0cb9a6a
add dword [ebp - 0x58], 0x9167b1db
mov dword [ebp - 0x54], 0x91b0f755
add dword [ebp - 0x54], 0xba9b4cd9
mov dword [ebp - 0x50], 0xff406001
sub dword [ebp - 0x50], 0xff406001
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x6bd1f9b1
sub dword [ebp - 0x5c], 0xf75f905b
mov dword [ebp - 0x58], 0xea6e234f
sub dword [ebp - 0x58], 0xa901c1da
mov dword [ebp - 0x54], 0xa0bdf104
sub dword [ebp - 0x54], 0x3d4e8498
mov dword [ebp - 0x50], 0x27a0b919
add dword [ebp - 0x50], 0xd85f46e7
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x353ac
push 0
call eax
mov ecx, 0x47470110
sub ecx, 0x4746cba0
mov ebx, eax
mov esi, 0x85db9d87
add esi, 0x7a661279
add esi, dword [ebp - 0x4c]
mov edi, 0xab2b213a
sub edi, 0x1914960e
sub dword [ebp - 0x34], 0x71193524
mov edx, dword [esi]
xor edx, edi
add dword [ebp - 0x48], edx
mov dword [ebx], edx
mov dword [ebp - 0x38], 0x7cd0686c
add ebx, 0xd69e74f7
add ebx, 0x29618b0d
add esi, 0xb76e9217
sub esi, 0xb76e9213
loop 0x40a732
add eax, 0xc893
mov ebx, eax
add eax, 0x6cb7422b
sub eax, 0x6cb74226
mov ecx, 0xf111068e
add ecx, 0xf2ef972
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x401040
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x111c
call fcn.00402030
mov eax, dword [0x404004]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x110c]
mov dword [ebp - 0x1118], ecx
push eax
push 0x1000
lea eax, [ebp - 0x1108]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x401097
push str.Failed_to_enumerate_processes._n
call fcn.00401010
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004013a1
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp - 0x110c]
push esi
shr ebx, 2
xor esi, esi
push edi
test ebx, ebx
je 0x401137
nop dword [eax]
lea eax, [ebp - 0x1108]
push dword [eax + esi*4]
lea eax, [eax + esi*4]
push 0
push 0x410
mov dword [ebp - 0x111c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40112e
lea eax, [ebp - 0x1110]
push eax
push 4
lea eax, [ebp - 0x1114]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x40112e
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x1114]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x401127
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x1118]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x40115d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jb 0x4010b0
push dword [ebp - 0x1118]
push str.Process_with_name___s__not_found._n
call fcn.00401010
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004013a1
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x111c]
push edi
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004013a1
mov esp, ebp
pop ebp
ret
Function at 0x401180
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x404004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x4031e8
call fcn.00401040
mov ecx, str.explorer.exe
mov esi, eax
call fcn.00401040
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x254], edi
test edi, edi
jne 0x4011e6
push esi
push str.Failed_to_open_process_with_ID__d_n
call fcn.00401010
add esp, 8
lea eax, [edi + 1]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004013a1
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x244]
mov dword [ebp - 0x258], ebx
cmp ebx, dword [ebp - 0x240]
jae 0x401332
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x228]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
jne 0x401332
cmp dword [ebp - 0x218], 0x1000
jne 0x40131a
mov eax, dword [ebp - 0x214]
cmp eax, 4
je 0x40124e
cmp eax, 2
jne 0x40131a
push dword [ebp - 0x21c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x250], esi
test esi, esi
je 0x40131a
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x21c]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x401310
mov ecx, dword [ebp - 0x208]
xor edi, edi
lea eax, [ecx - 8]
test eax, eax
je 0x40130a
mov dword [ebp - 0x25c], ebx
sub ebx, esi
cmp dword [esi], 0x4e44494d
jne 0x4012f5
cmp dword [esi + 4], 0x54484749
jne 0x4012f5
lea eax, [ebx + esi]
push eax
push str.Found_string_at_address:_0x_p_n
call fcn.00401010
push esi
push str.Content_around_address:__.20s_n
call fcn.00401010
push dword [ebp - 0x21c]
push str.Region_size:__zu_bytes_n
call fcn.00401010
push dword [ebp - 0x214]
push str.Protection:__ld_n
call fcn.00401010
mov ecx, dword [ebp - 0x208]
add esp, 0x20
inc edi
lea eax, [ecx - 8]
inc esi
cmp edi, eax
jb 0x4012a2
mov ebx, dword [ebp - 0x258]
mov esi, dword [ebp - 0x250]
mov edi, dword [ebp - 0x254]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
add ebx, dword [ebp - 0x21c]
mov dword [ebp - 0x258], ebx
cmp ebx, dword [ebp - 0x240]
jb 0x401210
lea eax, [ebp - 0x20c]
push eax
push 0x50
lea eax, [ebp - 0x204]
push eax
push 0x10798
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
pop ebx
test eax, eax
jne 0x401361
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_read_memory_at_address_0x10798._GetLastError__d_n
jmp 0x40136d
lea eax, [ebp - 0x204]
push eax
push str.Content_at_address_0x10798:__s_n
call fcn.00401010
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Press_any_key_to_exit...
call fcn.00401010
add esp, 4
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004013a1
mov esp, ebp
pop ebp
ret
Function at 0x401ba6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401be5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401be5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401be5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401be5
cmp dword [ecx + 0x74], 0xe
jbe 0x401be5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401c66
pop dword [ebp - 0x28]
mov eax, 0x1e2dc222
add eax, 0xe2125a44
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x86df4047
sub dword [ebp - 0x38], 0x388cfafc
mov dword [ebp - 0x34], 0xad46cd92
sub dword [ebp - 0x34], 0x7b13814d
mov dword [ebp - 0x30], 0xdfcf271e
sub dword [ebp - 0x30], 0x9382e2f0
mov dword [ebp - 0x2c], 0x313b1fa6
sub dword [ebp - 0x2c], 0x313b1fa6
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe00524a3
sub eax, 0xdfc4f44f
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xe3312343
add dword [ebp - 0x38], 0x91414613
mov dword [ebp - 0x34], 0xac16e03f
add dword [ebp - 0x34], 0x95558136
mov dword [ebp - 0x30], 0xc9acadc0
add dword [ebp - 0x30], 0x99c2beac
mov dword [ebp - 0x2c], 0x6d498f49
sub dword [ebp - 0x2c], 0x6d498f49
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x67affca0
add eax, 0x9890338c
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x39616
push 0
call eax
mov ecx, 0xd44af60f
add ecx, 0x2bb55d8a
xor edx, edx
add edx, eax
mov edi, 0xe1a4b08b
sub edi, 0xe164408b
add edi, dword [ebp - 0x28]
mov esi, 0x166c7f7b
sub esi, 0x9a711ed3
xor dword [ebp - 0x24], 0x573f2cd3
mov ebx, dword [edi]
sub dword [ebp - 0x18], 0xe463a085
add ebx, esi
mov dword [ebp - 0x24], 0xa11dc6e2
mov dword [edx], ebx
sub dword [ebp - 0x20], eax
add edx, 0xee09ac4c
add edx, 0x11f653b8
add edi, 4
loop 0x401d8a
add eax, 0x14137
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x15858c7c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x15858c86
pushal
call 0x15858c8c
pop ebp
sub ebp, 0x10
sub ebp, 0x3d8c7c
mov al, byte [esp + 0x28]
cmp al, 1
je 0x15858cb0
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x15858cb9
mov eax, 0x3d8c7c
add eax, ebp
add eax, 0x63
mov ecx, 0x5e0
mov edx, 0x7290f437
xor byte [eax], dl
inc eax
dec ecx
jne 0x15858cd0
jmp 0x15858ce3
mov esp, 0xbbebcfa
aaa
aaa
aaa
mov dh, 0xf6
iretd
Function at 0x4fd28b
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004fd30a
jae 0x4fd297
xor ecx, ecx
call fcn.004fd30a
jae 0x4fd2c1
xor eax, eax
call fcn.004fd30a
jae 0x4fd2d2
mov al, 0x10
call fcn.004fd30a
adc al, al
jae 0x4fd2b3
jne 0x4fd2ff
stosb byte es:[edi], al
jmp 0x4fd298
call fcn.004fd316
dec ecx
loop 0x4fd2de
mov eax, ebp
call fcn.004fd314
jmp 0x4fd300
lodsb al, byte [esi]
shr eax, 1
je 0x4fd326
adc ecx, 2
mov ebp, eax
jmp 0x4fd300
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004fd314
cmp eax, 0x7d00
jae 0x4fd2fe
cmp eax, 0x500
jae 0x4fd2ff
cmp eax, 0x7f
ja 0x4fd300
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4fd298
pop ebp
ret 8
Function at 0x402653
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x402707
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004025e3
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4026e0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40272e
test ebp, ebp
je 0x40272e
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x402736
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x402776
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4027d2
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4027cd
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4027b8
test dl, dl
je 0x4027b4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4027b8
add ecx, 2
add eax, 2
test dl, dl
jne 0x402798
xor eax, eax
jmp 0x4027bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x4027dc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x402785
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x4027f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00402653
test eax, eax
jne 0x40280b
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00402713
mov esi, eax
test esi, esi
jne 0x402841
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x40285b
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret