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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43e164
mov eax, esi
call fcn.00453ec0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e164
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43e164
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43e2a3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43e1a4
cmp eax, 0x108
ja 0x43e1a4
mov eax, esi
call fcn.00453ec0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e29a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43e2a3
jmp 0x43e29a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43e283
cmp eax, 0x20a
ja 0x43e283
test byte [esi + 0x50], 0x80
jne 0x43e1d6
sub eax, 0x203
je 0x43e1d3
sub eax, 3
je 0x43e1d3
sub eax, 3
jne 0x43e1d6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43e1ea
dec eax
je 0x43e1ff
dec eax
je 0x43e21c
dec eax
je 0x43e1ff
jmp 0x43e223
mov ecx, ebx
mov eax, dword [0x47c220]
mov eax, dword [eax]
mov edx, esi
call fcn.0045d840
jmp 0x43e29a
cmp byte [esi + 0x5d], 1
jne 0x43e215
mov eax, esi
mov si, 0xffed
call fcn.004039d0
jmp 0x43e2a3
or word [esi + 0x54], 1
jmp 0x43e29a
and word [esi + 0x54], 0xfffe
jmp 0x43e29a
mov eax, dword [0x47db10]
cmp byte [eax + 0x20], 0
je 0x43e29a
mov eax, dword [0x47db10]
cmp dword [eax + 0x1c], 0
je 0x43e29a
mov eax, dword [ebx]
mov edx, dword [0x47db10]
cmp eax, dword [edx + 0x1c]
jne 0x43e29a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00453e04
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004039d0
jmp 0x43e2a3
cmp eax, 0xb00b
jne 0x43e29a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043ca38
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441810
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44182c
cmp dword [esi + 4], 0
je 0x441859
test byte [ebx + 0x55], 1
jne 0x44184b
mov eax, ebx
call fcn.004403b0
test eax, eax
jne 0x44184b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x441969
mov edx, esi
mov eax, ebx
call fcn.00441334
jmp 0x441969
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x441962
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00443680
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043e04c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00441810
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00443680
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441969
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448080
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47c398]
cmp byte [eax + 0xc], 0
je 0x4481ed
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4481e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47db64], 0
jne 0x4480d4
push 0x4481f4
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4481fc
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db64], eax
cmp dword [0x47bd44], 0
jne 0x4481cf
push 0x44820c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x47bd44], eax
cmp dword [0x47bd44], 0
je 0x4481cf
push 0x448218
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db68], eax
push 0x448228
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db6c], eax
push 0x44823c
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db70], eax
push 0x448254
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db74], eax
push 0x44826c
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db78], eax
push 0x448280
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db7c], eax
push 0x448298
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db80], eax
push 0x4482b0
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db84], eax
push 0x4482cc
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db88], eax
push 0x4482d8
mov eax, dword [0x47bd44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47db8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4481ed
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44c54c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040453c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c59b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004047ac
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453d74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453dc4]
test si, 4
je 0x453d88
or bl, 1
test si, 8
je 0x453d92
or bl, 4
test si, 1
je 0x453d9c
or bl, 8
test si, 2
je 0x453da6
or bl, 0x10
test si, 0x10
je 0x453db0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453dbf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x453dc8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453e00]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453de1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453df0
or bl, 4
test esi, 0x20000000
je 0x453dfb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a4c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a4d6
add esp, 0xfffffff0
call fcn.00403ae8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a364
mov eax, dword [0x47c048]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a868
mov eax, dword [0x47c054]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a874
mov eax, ebx
call fcn.0045a880
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412334]
call fcn.00403798
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412334]
call fcn.00403798
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412334]
call fcn.00403798
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412334]
call fcn.00403798
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412334]
call fcn.00403798
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, 0x456c98
push eax
push 0
push 0
mov eax, dword [0x47c1a8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bda0]
call fcn.0041d208
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bda0]
call fcn.0041d208
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bda0]
call fcn.0041d208
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045acd0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ab98
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ab98
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ab98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a613
call fcn.00403b40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a97c
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 0x45ab27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ab08
mov dl, 1
mov eax, dword [0x412750]
call fcn.00403798
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040453c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45aaf7
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.004483e0
test al, al
je 0x45aaea
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, 0x45ab38
lea eax, [ebp - 0x254]
call fcn.004093cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x45aaea
xor eax, eax
push ebp
push 0x45aae3
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 0x45ab70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x45aacc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047ac
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 0x45aacc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aaea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a9ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004162cc
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 0x45ab2e
lea eax, [ebp - 0x260]
call fcn.0040453c
ret

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

Disassembly:
push ecx
mov eax, dword [0x47dbb0]
cmp byte [eax + 0xa5], 0
jne 0x45b4e1
cmp dword [0x47dbc8], 0
jne 0x45b4a2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x45b42c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47dbc8], eax
cmp dword [0x47dbc4], 0
jne 0x45b4bd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x47dbc4], eax
cmp dword [0x47dbcc], 0
jne 0x45b4e1
push esp
push 0
push 0
push 0x45b3d0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x47dbcc], eax
pop edx
ret
Function at 0x45bb74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47dbb0]
cmp dword [eax + 0x30], 0
je 0x45bc1e
cmp dword [ebx + 0x94], 0
jne 0x45bc18
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45bb04
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bc18
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 0x45bbde
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bc18
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.00414724
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bbed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c77c
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 0x45c7b1
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.0040462c
jmp 0x45c7be
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404590
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d988
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d9c9
mov eax, esi
call fcn.00443984
test al, al
je 0x45d9c9
mov eax, dword [ebx + 0x84]
call fcn.00443680
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d9c9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443680
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x461380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049ec
mov eax, dword [ebp - 8]
call fcn.004049ec
xor eax, eax
push ebp
push 0x461440
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x461454
call fcn.00404590
mov dword [ebp - 0x10], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.004049fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x46141c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004049fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46141c
mov eax, ebx
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.004047ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461447
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404560
ret

Function at 0x4623fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4624c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x63
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0040837c
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.004031e0
mov dword [ebp - 0x4c], 0x44
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x8000000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004049fc
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x4624ae
jmp 0x46247e
mov eax, dword [0x47c220]
mov eax, dword [eax]
call fcn.0045cabc
push 0xa
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
ja 0x462472
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x4624b3
call fcn.0040d408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4624d0
lea eax, [ebp - 8]
call fcn.0040453c
ret
Function at 0x10005f20
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push 0x1001d08c
push edi
call dword [sym.imp.MSVCR80.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10005f48
push edi
push 0x64
call fcn.10016180
add esp, 8
mov ebx, dword [sym.imp.MSVCR80.dll_fseek]
push 2
push 0
push esi
call ebx
push esi
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push esi
mov edi, eax
call ebx
lea ebx, [edi + 1]
push ebx
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebp, eax
add esp, 0x20
test ebp, ebp
jne 0x10005f82
push 0x67
call fcn.10016180
add esp, 4
push ebx
push 0
push ebp
call sub.MSVCR80.dll_memset
push esi
push edi
push 1
push ebp
call dword [sym.imp.MSVCR80.dll_fread]
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
push 0x190
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 0x24
test ebx, ebx
jne 0x10005fbb
push 0x67
call fcn.10016180
add esp, 4
mov edi, dword [sym.imp.MSVCR80.dll_strtok]
push str.__t_r_n
push ebp
call edi
add esp, 8
mov esi, 1
test eax, eax
je 0x10005fff
push str.__t_r_n
push 0
mov dword [ebx + esi*4], eax
call edi
add esi, 1
add esp, 8
cmp esi, 0x64
jl 0x10005fd1
test eax, eax
je 0x10005fff
push str.option_table
push 0x66
call fcn.10016180
add esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push esi
call fcn.10005690
mov esi, dword [sym.imp.MSVCR80.dll_free]
push ebx
call esi
push ebp
call esi
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10014790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [eax - 0x78b5b], al
inc dword [eax]
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
invalid
invalid
jl 0x100147c8
Function at 0x1001a3d0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
push edi
push 0x1001d290
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001a3f0
pop edi
pop esi
ret
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push edi
push 1
push ecx
push edx
call dword [sym.imp.MSVCR80.dll_fwrite]
xor ecx, ecx
cmp eax, dword [esi + 0xc]
push edi
sete cl
mov esi, ecx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret

Function at 0x1001b140
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
cmp dword [esp + 8], 0
je 0x1001b161
push 0x10022ee0
call dword [sym.imp.MSVCR80.dll_remove]
pop ecx
ret

Function at 0x1001b190
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push eax
push esi
push 1
push ecx
call dword [sym.imp.MSVCR80.dll_fwrite]
xor edx, edx
add esp, 0x10
cmp eax, esi
sete dl
pop esi
mov eax, edx
ret

Function at 0x1001b1c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10021994]
jne 0x1001b1d0
repz ret
jmp fcn.1001b519
Function at 0x40225f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021cb
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406890
add esp, 0xc
call fcn.00401d3d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x7bab595b
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x545474b6
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219