joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40eaef
pop dword [ebp - 0x34]
mov eax, 0x40eaef
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x52ae5
push 0
mov eax, 0xeb919e0e
sub eax, 0xeb4b3636
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x5c6c32e1
sub ecx, 0x5c6bdbcb
xor edx, edx
add edx, eax
mov edi, 0x2b722725
sub edi, 0x2b294725
add edi, dword [ebp - 0x34]
mov esi, 0xee5025e4
add esi, 0x7b49f2ea
mov dword [ebp - 8], 0xa6e59583
mov ebx, dword [edi]
xor dword [ebp - 0x28], 0xababff26
sub ebx, esi
add dword [ebp - 8], ecx
mov dword [edx], ebx
xor dword [ebp - 0x18], eax
add edx, 0x257042e7
add edx, 0xda8fbd1d
add edi, 0xe11878b3
add edi, 0x1ee78751
loop 0x40eb4b
add eax, 0x37064c34
sub eax, 0x3704fd09
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x410340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
push eax
call main
add esp, 4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test ah, 0x80
je 0x4103cb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4103cb
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x45bae0]
mov eax, dword [eax + 0x16]
push eax
call dword [sym.imp.GDI32.dll_PtVisible]
test eax, eax
je 0x4103cb
mov eax, dword [0x45bdac]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4103d7
mov eax, dword [0x45bd6c]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410728
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
test ah, 0x80
je 0x410750
add dword [ebp - 4], 2
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
test ah, 0x80
je 0x410767
inc dword [ebp - 4]
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
test ah, 0x80
je 0x41077f
add dword [ebp - 4], 8
mov ax, word [ebp - 4]
jmp 0x410788
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov word [ebp - 4], 0
movsx eax, word [ebp + 8]
test al, 8
je 0x418774
movsx eax, word [ebp - 4]
inc eax
mov word [ebp - 4], ax
movsx eax, word [ebp + 8]
test al, 4
je 0x41878b
movsx eax, word [ebp - 4]
add eax, 2
mov word [ebp - 4], ax
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test ah, 0x80
je 0x4187aa
movsx eax, word [ebp - 4]
add eax, 8
mov word [ebp - 4], ax
mov ax, word [ebp - 4]
jmp 0x4187b3
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4287df
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
cmp dword [0x45aa24], 0
je 0x428816
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call main
add esp, 4
jmp 0x42882f
call main
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call main
add esp, 4
jmp 0x42882f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_WinExec]
cmp eax, 0x20
jae 0x430c43
lea eax, [ebp - 0x100]
push eax
push 0x60
call main
add esp, 8
push 1
lea eax, [ebp - 0x100]
push eax
call main
add esp, 8
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44c8c0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
mov eax, 0
jne 0x44c8df
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x44c8f2
push eax
call fcn.0044d700
add esp, 4
mov eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x4010c0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x42a520]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ecx, ecx
mov al, 1
push edi
lea ebx, [ebx]
movzx edx, al
mov byte [ebp + edx - 0x104], cl
mov dl, al
and dl, 0x80
mov byte [ebp + ecx - 0x204], al
inc ecx
neg dl
sbb dl, dl
mov bl, al
and dl, 0x1b
jmp loc.00473bc0
Function at 0x403470
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
jmp loc.00473008
Function at 0x40f550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f5be
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x40f58d
cmp eax, 2
jne 0x40f5a8
mov eax, dword [ebp - 4]
test esi, esi
je 0x40f5b8
test eax, eax
je 0x40f5b3
test al, 1
jne 0x40f5a8
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40f5b8
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x41ec8c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a520]
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.00415f87
and dword [ebp - 0x14], 0
cmp dword [0x461790], 0
mov dword [ebp - 0x18], eax
jne 0x41ed3f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ede7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ede7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x461790], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x461794], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x461798], eax
call edi
push eax
call esi
mov dword [0x4617a0], eax
test eax, eax
je 0x41ed3f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46179c], eax
mov eax, dword [0x46179c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ed98
cmp dword [0x4617a0], ecx
je 0x41ed98
push eax
call esi
push dword [0x4617a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ed98
test ebx, ebx
je 0x41ed98
call edi
test eax, eax
je 0x41ed8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ed8f
test byte [ebp - 8], 1
jne 0x41ed98
or dword [ebp + 0x10], 0x200000
jmp 0x41edcb
mov eax, dword [0x461794]
cmp eax, dword [ebp - 0x18]
je 0x41edcb
push eax
call esi
test eax, eax
je 0x41edcb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41edcb
mov eax, dword [0x461798]
cmp eax, dword [ebp - 0x18]
je 0x41edcb
push eax
call esi
test eax, eax
je 0x41edcb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x461790]
call esi
test eax, eax
je 0x41ede7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ede9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106c7
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x403e59
pop dword [ebp - 0x18]
mov eax, 0xdba20f33
sub eax, 0xdb61d0da
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xef9b8590
add dword [ebp - 0x28], 0x5eb6bfbb
mov dword [ebp - 0x24], 0x30979587
sub dword [ebp - 0x24], 0xfe644942
mov dword [ebp - 0x20], 0x48a334e6
sub dword [ebp - 0x20], 0xfc56f0b8
mov dword [ebp - 0x1c], 0x5c247030
add dword [ebp - 0x1c], 0xa3db8fd0
lea eax, [ebp - 0x28]
push eax
mov eax, 0x417a737d
add eax, 0xbec60d0f
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xcf8be8b1
add dword [ebp - 0x28], 0xa4e680a5
mov dword [ebp - 0x24], 0x8ca31ec4
sub dword [ebp - 0x24], 0x4b36bd4f
mov dword [ebp - 0x20], 0xd76ba518
sub dword [ebp - 0x20], 0x73fc38ac
mov dword [ebp - 0x1c], 0xa5bcb8d9
sub dword [ebp - 0x1c], 0xa5bcb8d9
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x36335
push 0
call eax
mov ecx, 0x55578f8a
sub ecx, 0x555749ba
mov ebx, eax
mov edx, 0x411000
add edx, dword [ebp - 0x18]
mov edi, 0x4108861c
xor dword [ebp - 0xc], eax
mov esi, dword [edx]
add dword [ebp - 0xc], eax
sub esi, edi
xor dword [ebp - 0x10], edx
mov dword [ebx], esi
add ebx, 0xf134a3b2
sub ebx, 0xf134a3ae
add edx, 0xd99912d8
add edx, 0x2666ed2c
loop 0x403f6a
add eax, 0x10a13
xor ebx, ebx
add ebx, eax
add eax, 0xc3c717e8
add eax, 0x3c38e81d
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x402b50
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
mov eax, dword [esi + 0x4fe0]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esi + 0x4fd8]
mov ebx, dword [esi + 0x4fdc]
shr ecx, 0x1c
mov eax, edi
and eax, 0xf
shl ebx, 4
add ecx, ebx
mov edx, edi
shr edx, 4
shl eax, 0x1c
cmp edi, ecx
sbb ecx, ecx
and ecx, 0x10000000
push ecx
push eax
push edx
mov edx, dword [esi + 0x28]
push 4
push edx
mov dword [esi + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0x4fe0], eax
je 0x402bb2
mov dword [esi + 0x18], edi
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [0x488ae8]
push 0x477f8c
push 0x477f80
push edi
mov esi, eax
call fcn.0043be45
mov eax, dword [edi]
push esi
push esi
push str.LastError
push str._s_d__x__n
push eax
call fcn.0043c1c1
mov ecx, dword [edi]
push ecx
call fcn.0043c58c
mov edx, dword [0x489b08]
mov eax, dword [0x488a6c]
add esp, 0x24
push 0x100
shl edx, 9
add edx, 0x488b08
push edx
push 0xdf
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x489b08]
lea ecx, [eax + 1]
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x402c2a
dec ecx
or ecx, 0xfffffff8
inc ecx
shl eax, 9
add eax, 0x488b08
push eax
mov dword [0x489b08], ecx
call fcn.00418e50
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x403b10
Capabilities:
Delete file

Disassembly:
mov eax, dword [esi + 0xc]
test eax, eax
je 0x403b1e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esi + 0x4fe0]
push eax
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [esi + 0x10], 0
je 0x403b60
cmp dword [esi + 0x2c], 0
je 0x403b60
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [esi + 0x48], 0x7e
lea eax, [esi + 0x48]
mov dword [esi + 0x10], 0
jne 0x403b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret
Function at 0x40d2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ed08
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x484004]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x30]
call fcn.004190c0
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x14], eax
mov ebx, esi
mov dword [esi], vtable.TAG_Plot.0
mov dword [esi + 0x10cc078], ecx
mov dword [esi + 0x1097a10], eax
call fcn.0040fa60
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x41c380
Capabilities:
Get common file path

Disassembly:
sub esp, 0x4c
push esi
xor esi, esi
cmp word [0x48a118], si
push edi
mov edi, eax
jne 0x41c3a4
push 0x48a118
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x41c3ba
push 0x5c
push 0x48a118
call fcn.0043c877
add esp, 8
cmp eax, esi
je 0x41c3ba
mov word [eax], si
mov eax, 0x48a118
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41c3c2
sub eax, edx
sar eax, 1
cmp eax, 3
jne 0x41c3e7
cmp word [0x48a11c], 0x5c
jne 0x41c3e7
mov word [0x48a11c], si
cmp edi, esi
je 0x41c3fe
push edi
push 0x208
push 0x48a118
call fcn.0043c4ad
add esp, 0xc
mov eax, dword [esp + 0x64]
push eax
push 0x208
push 0x48a118
call fcn.0043d5cc
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], eax
add esp, 0xc
mov dword [esp + 8], 0x4c
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x48a118
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x200
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], 0x88002c
mov word [esp + 0x40], si
mov word [esp + 0x42], si
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0x41c250
mov dword [esp + 0x50], esi
mov ecx, str.OPEN
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41c4bc
cmp dx, si
je 0x41c4b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41c4bc
add eax, 4
add ecx, 4
cmp dx, si
jne 0x41c496
xor eax, eax
jmp 0x41c4c1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x41c4d2
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
jmp 0x41c4d6
mov eax, dword [esp + 0x58]
mov edx, str.SAVE
mov ecx, ebx
lea ecx, [ecx]
mov di, word [ecx]
cmp di, word [edx]
jne 0x41c506
cmp di, si
je 0x41c502
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x41c506
add ecx, 4
add edx, 4
cmp di, si
jne 0x41c4e0
xor ecx, ecx
jmp 0x41c50b
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, esi
jne 0x41c51a
lea edx, [esp + 8]
push edx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
cmp eax, esi
jne 0x41c526
pop edi
xor eax, eax
pop esi
add esp, 0x4c
ret
mov ecx, str.SAVE
mov eax, ebx
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41c556
cmp dx, si
je 0x41c552
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41c556
add eax, 4
add ecx, 4
cmp dx, si
jne 0x41c530
xor eax, eax
jmp 0x41c55b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x41c5ab
cmp word [esp + 0x42], si
mov edx, dword [esp + 0x14]
jne 0x41c5ab
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + ecx - 1]
xor eax, eax
cmp ecx, esi
jbe 0x41c595
jmp 0x41c580
mov si, word [edx]
add edx, 2
test si, si
jne 0x41c580
add eax, 1
movzx esi, ax
cmp esi, ecx
jb 0x41c580
add edx, 2
push edx
push 0x208
push 0x48a118
call fcn.0043d5cc
add esp, 0xc
pop edi
mov eax, 0x48a118
pop esi
add esp, 0x4c
ret
Function at 0x42740c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x427445
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041d6d1
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041d668
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x429364
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4293a7
call fcn.0041ea00
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4293a7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4293c2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00428f1e
test ebx, ebx
mov esi, eax
je 0x4293c0
test edi, edi
je 0x4293c0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43b423
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x484004]
jne 0x43b42d
repz ret
jmp fcn.00442ea2
Function at 0x461518
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044c3ac
xor ebx, ebx
cmp dword [0x4889a0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4615ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x461558
xor eax, eax
jmp 0x4616b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x461551
push eax
call fcn.0044c349
mov dword [esp], 0x475930
push edi
mov dword [0x4889a0], eax
call esi
push eax
call fcn.0044c349
mov dword [esp], 0x47591c
push edi
mov dword [0x4889a4], eax
call esi
push eax
call fcn.0044c349
mov dword [0x4889a8], eax
lea eax, [ebp - 8]
push eax
call fcn.00442047
test eax, eax
pop ecx
pop ecx
je 0x4615bb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00443a90
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4615ed
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044c349
cmp eax, ebx
pop ecx
mov dword [0x4889b0], eax
je 0x4615ed
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044c349
pop ecx
mov dword [0x4889ac], eax
mov eax, dword [0x4889ac]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x461666
cmp dword [0x4889b0], esi
je 0x461666
push eax
call fcn.0044c3b5
pop ecx
call eax
cmp eax, ebx
je 0x461633
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4889b0]
call fcn.0044c3b5
pop ecx
call eax
test eax, eax
je 0x461633
test byte [ebp - 0x18], 1
jne 0x461666
lea eax, [ebp - 0xc]
push eax
call fcn.004420f6
test eax, eax
pop ecx
je 0x46164e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00443a90
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x46165d
or dword [ebp + 0x10], 0x200000
jmp 0x461697
or dword [ebp + 0x10], 0x40000
jmp 0x461697
mov eax, dword [0x4889a4]
cmp eax, esi
je 0x461697
push eax
call fcn.0044c3b5
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x461697
mov eax, dword [0x4889a8]
cmp eax, esi
je 0x461697
push dword [ebp - 4]
push eax
call fcn.0044c3b5
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4889a0]
call fcn.0044c3b5
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4694bc
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x484004]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00469334
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043e710
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x46950b
cmp dword [ebp - 0x1c], 5
jb 0x469523
jmp 0x46951f
cmp dword [ebp - 0x10], 1
jne 0x469523
cmp dword [ebp - 0x1c], 4
ja 0x46951f
jne 0x469523
cmp dword [ebp - 0x18], 0
jbe 0x469523
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4759dc
call fcn.00469128
test eax, eax
jge 0x469544
mov byte [0x488a38], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043b423
add ebp, 0x78
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5808483e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x62d874e4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402e0c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040468c
test esi, esi
jne 0x402e43
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.0040477c
jmp 0x402e64
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ca8
mov dword [esp], eax
test esi, esi
je 0x402e64
cmp dword [ebx], 0
je 0x402e64
dec esi
jmp 0x402e4b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x492020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036d8
xor eax, eax
push ebp
push 0x4036d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403714
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x492020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x492020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404464
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x498044], 0
je 0x4044c5
cmp word [0x498218], 0xd7b2
jne 0x40448d
cmp dword [0x498220], 0
jbe 0x40448d
mov eax, 0x498214
call dword [0x498230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x492074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4044ec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x492030], 0
jne 0x4044e1
push 0
push 0x49206c
push 0x492074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a48
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x498045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404608
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc