joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490a9c
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 0x490c47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x490c28
mov dl, 1
mov eax, dword [0x41c140]
call fcn.00403dfc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404d6c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x490c17
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.004800c8
test al, al
je 0x490c0a
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, 0x490c58
lea eax, [ebp - 0x254]
call fcn.0040b06c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x490c0a
xor eax, eax
push ebp
push 0x490c03
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 0x490c90
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x490bec
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404fdc
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 0x490bec
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404fdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490c0a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x490b0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0042160c
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 0x490c4e
lea eax, [ebp - 0x260]
call fcn.00404d6c
ret

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

Disassembly:
push ecx
mov eax, dword [0x5f5ce4]
cmp byte [eax + 0xad], 0
jne 0x491771
cmp dword [0x5f5d00], 0
jne 0x491732
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4916bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5f5d00], eax
cmp dword [0x5f5cfc], 0
jne 0x49174d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x5f5cfc], eax
cmp dword [0x5f5d04], 0
jne 0x491771
push esp
push 0
push 0
push 0x491660
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x5f5d04], eax
pop edx
ret
Function at 0x491a18
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x491a2f
add esp, 0xfffffff0
call fcn.00404190
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042a898
mov eax, dword [0x5f01c0]
cmp word [eax + 2], 0
jne 0x491a57
mov eax, dword [0x5f01c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00493688
mov eax, dword [0x5f034c]
cmp word [eax + 2], 0
jne 0x491a71
mov eax, dword [0x5f034c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00493894
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41bad4]
call fcn.00403dfc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41bad4]
call fcn.00403dfc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41bad4]
call fcn.00403dfc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x430998]
call fcn.00439188
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x491c28
mov eax, dword [0x5f002c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00439570
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x493f88
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5f002c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f080
test eax, eax
je 0x491b78
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a984
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f0b4
test eax, eax
je 0x491b8c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404fdc
mov byte [ebx + 0xd4], 0
push ebx
push 0x493198
call fcn.0042c064
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5efda4]
cmp byte [eax], 0
jne 0x491bdd
mov eax, ebx
call fcn.00491d6c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00494160
mov eax, ebx
call fcn.00494d14
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x491c1d
call fcn.004041e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491fec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x49208b
cmp dword [ebx + 0x94], 0
jne 0x492085
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x491f74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x492085
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 0x49204b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x492085
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.0041e7e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49205a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4922a4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5f5ce4]
cmp dword [eax + 0x30], 0
je 0x492401
test bl, bl
jne 0x492352
cmp dword [esi + 0x9c], 0
jne 0x492347
mov eax, esi
call fcn.00494b90
push eax
push 0x4921d0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x492318
mov eax, dword [0x5f5ce4]
call fcn.00495270
test al, al
je 0x492318
mov eax, dword [0x5f5d08]
call fcn.004062cc
mov edi, eax
cmp edi, 0
jl 0x492318
push 0
mov eax, dword [0x5f5d08]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x492302
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x492347
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e7e0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x492327
inc dword [esi + 0x9c]
jmp 0x492401
cmp dword [esi + 0x9c], 0
jle 0x492401
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x492401
cmp dword [esi + 0x44], 0
je 0x4923ad
mov eax, dword [0x5f5ce4]
call fcn.00495270
test al, al
je 0x4923ad
mov eax, dword [0x5f5d08]
call fcn.004062cc
mov edi, eax
cmp edi, 0
jl 0x4923ad
push 5
mov eax, dword [0x5f5d08]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x492397
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4923dc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e7e0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4923bc
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x5f5d08
mov ecx, 1
mov edx, dword [0x4921b0]
call fcn.00406480
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x492e94
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x492efe
mov eax, ebx
call fcn.00495270
test al, al
jne 0x492efe
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.00404e5c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x492eeb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x492f0b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404dc0
jmp 0x492f0b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404dc0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x494344
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4943b2
mov eax, esi
call fcn.0047aca4
test al, al
je 0x4943b2
mov eax, dword [ebx + 0x84]
call fcn.0047a8f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4943b2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4943a6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047a8f4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00472760
jmp 0x4943b2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00494180
pop esi
pop ebx
ret
Function at 0x4a7edc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x4a8061
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x4a7f04
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00464158
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4a805a
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
mov esi, dword [ebp - 0x10]
inc esi
push esi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a7f99
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4a7f92
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4a7f7b
mov eax, dword [ebp - 8]
call fcn.004051fc
mov ecx, esi
mov edx, ebx
call fcn.004030fc
mov eax, dword [ebp - 0xc]
push eax
push 1
call sub.user32.dll_SetClipboardData
test eax, eax
sete byte [ebp - 0x11]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7f99
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
cmp byte [ebp - 0x11], 0
jne 0x4a8026
mov esi, dword [ebp - 0x10]
inc esi
mov eax, esi
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4a801f
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4a8008
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x339]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp - 8]
call fcn.004051fc
mov ecx, esi
mov edx, ebx
call fcn.004030fc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x5f5d38]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
sete byte [ebp - 0x11]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8026
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8061
call fcn.00464158
mov edx, dword [eax]
call dword [edx + 0x14]
cmp byte [ebp - 0x11], 0
je 0x4a8059
mov ecx, 0x4a8070
mov dl, 1
mov eax, dword [0x4a605c]
call fcn.0040e0e0
call fcn.004046e0
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x508af8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x508c1b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dl, byte [esi + 0x2c8]
je 0x508c05
mov eax, edx
mov byte [esi + 0x2c8], al
test al, al
je 0x508bc1
mov eax, esi
call fcn.004721f0
mov edx, eax
lea ecx, [ebp - 0x10]
or eax, 0xffffffff
call fcn.0041cf74
lea edx, [ebp - 0x10]
lea ecx, [ebp - 8]
mov eax, esi
call fcn.004722c0
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x2c0]
call fcn.00472934
mov ebx, dword [esi + 0x2c0]
mov edx, dword [esi + 0x48]
mov eax, ebx
call fcn.00471f00
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00472840
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x2c0]
call fcn.00472870
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x154]
mov byte [esi + 0x27c], 1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xf8]
cmp byte [esi + 0x2c9], 1
jne 0x508c05
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x508c05
mov eax, dword [esi + 0x2c0]
mov byte [eax + 0x29c], 1
call sub.user32.dll_ReleaseCapture
mov byte [esi + 0x27c], 0
xor edx, edx
mov eax, dword [esi + 0x2bc]
call fcn.00504f10
push 0
mov eax, dword [esi + 0x2c0]
call fcn.0047a8f4
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov si, 0xffaa
call fcn.00404028
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508c22
lea eax, [ebp - 0x14]
call fcn.00404d6c
ret
Function at 0x50a6ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x50a6b4
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x50a873
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00514110
mov esi, eax
mov eax, dword [edi + 0x30]
mov edx, dword [eax + 0xa8]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x30]
mov edx, dword [0x50cf8c]
call fcn.00403fdc
mov esi, eax
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004057f0
je 0x50a718
cmp byte [esi + 0xb1], 0
je 0x50a747
mov eax, edi
call fcn.00514110
mov eax, dword [eax + 0xc]
mov edx, 0xff000011
call fcn.00431950
lea edx, [ebp - 0x18]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x18]
mov edx, dword [esi + 0x48]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx]
jmp 0x50a82e
test byte [esi + 0x84], 2
je 0x50a7bb
lea edx, [ebp - 0x24]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00404ff4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004096ac
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [esi + 0x3c]
call fcn.00404ff4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004096ac
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00405194
je 0x50a7bb
mov eax, edi
call fcn.00514110
mov eax, dword [eax + 0xc]
call fcn.00431cd0
or al, byte [0x50a884]
push eax
mov eax, edi
call fcn.00514110
mov eax, dword [eax + 0xc]
pop edx
call fcn.00431cdc
mov eax, dword [edi + 0x30]
cmp byte [eax + 0x4c], 0
jne 0x50a7d8
mov eax, edi
call fcn.00514110
mov eax, dword [eax + 0xc]
mov edx, 0xff000011
call fcn.00431950
movzx ebx, byte [esi + 0xc2]
test bl, bl
jne 0x50a7ef
lea edx, [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x4c]
jmp 0x50a818
lea edx, [ebp - 0x34]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x34]
call fcn.00405714
mov edx, eax
lea ecx, [ebp - 0x30]
mov eax, ebx
call fcn.004054f0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.004056f4
lea edx, [ebp - 0x18]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a87a
lea eax, [ebp - 0x34]
call fcn.0040554c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404d90
lea eax, [ebp - 0x24]
call fcn.0040554c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404d90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405564
ret

Function at 0x5136d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test byte [ebx + 0x1c], 8
jne 0x5136ed
push 0
mov eax, dword [ebx + 0x44]
call fcn.0047a8f4
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x535ce8
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, eax
mov eax, ebx
call fcn.00404d6c
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x535d4b
push 0x80
lea eax, [esp + 0x194]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x535d46
lea eax, [esp + 0x190]
push eax
call sub.wsock32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x535d46
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404f64
call sub.wsock32.dll_WSACleanup
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x53c798
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
lea edx, [esp + 4]
mov eax, dword [0x5f6c84]
mov ecx, 0x40
call fcn.004030fc
mov dword [0x5f6c88], 0xb7e15163
mov ebx, 0x19
mov eax, 0x5f6c88
mov edx, dword [eax]
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
dec ebx
jne 0x53c7c6
xor ebx, ebx
xor edi, edi
xor esi, esi
xor ebp, ebp
mov dword [esp], 0x4e
mov eax, dword [ebx*4 + 0x5f6c88]
add eax, esi
add eax, ebp
mov edx, 3
call fcn.0053c608
mov esi, eax
mov dword [ebx*4 + 0x5f6c88], esi
lea edx, [ebp + esi]
mov eax, dword [esp + edi*4 + 4]
add eax, esi
add eax, ebp
call fcn.0053c608
mov ebp, eax
mov dword [esp + edi*4 + 4], ebp
lea eax, [ebx + 1]
mov ecx, 0x1a
cdq
idiv ecx
mov ebx, edx
inc edi
and edi, 0x8000000f
jns 0x53c836
dec edi
or edi, 0xfffffff0
inc edi
dec dword [esp]
jne 0x53c7e6
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x53c844
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov eax, dword [0x5f6c88]
add dword [ebx], eax
mov eax, dword [0x5f6c8c]
add dword [ebx + 4], eax
mov esi, 1
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
xor eax, ebp
mov edx, ebp
call fcn.0053c608
mov edi, eax
mov eax, esi
add eax, eax
add edi, dword [eax*4 + 0x5f6c88]
mov dword [ebx], edi
mov eax, dword [ebx + 4]
xor eax, edi
mov edx, edi
call fcn.0053c608
mov edx, esi
add edx, edx
add eax, dword [edx*4 + 0x5f6c8c]
mov dword [ebx + 4], eax
inc esi
cmp esi, 0xd
jne 0x53c85e
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x53c8a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, 0xc
mov eax, dword [ebx + 4]
mov edi, esi
add edi, edi
sub eax, dword [edi*4 + 0x5f6c8c]
mov edx, dword [ebx]
call fcn.0053c610
mov ebp, eax
xor ebp, dword [ebx]
mov dword [ebx + 4], ebp
mov eax, dword [ebx]
sub eax, dword [edi*4 + 0x5f6c88]
mov edx, ebp
call fcn.0053c610
xor eax, dword [ebx + 4]
mov dword [ebx], eax
dec esi
test esi, esi
jne 0x53c8af
mov eax, dword [0x5f6c8c]
sub dword [ebx + 4], eax
mov eax, dword [0x5f6c88]
sub dword [ebx], eax
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53fbd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x53fbdc
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051ec
xor eax, eax
push ebp
push 0x53fd3d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x53fd54
call fcn.00405038
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0053fa64
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405084
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 8]
call fcn.0053f9ac
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x20
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405264
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044b724
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404e04
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404dc0
mov dl, 1
mov eax, dword [0x41c468]
call fcn.00403dfc
mov edi, eax
mov dl, 1
mov eax, dword [0x41c468]
call fcn.00403dfc
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov edx, edi
call fcn.0053e330
push 0
push 0
mov eax, edi
call fcn.00421750
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00421750
mov eax, edi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.0053c8fc
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0053e3e0
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.0044b724
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.00404e04
mov ebx, 1
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + ebx - 1]
xor edx, ebx
call fcn.00404f54
mov eax, dword [ebp - 0x24]
lea ecx, [ebx + ebx*2]
inc ecx
mov edx, esi
call fcn.004052ec
inc ebx
cmp ebx, 0x21
jne 0x53fce0
mov eax, edi
call fcn.00403e2c
mov eax, dword [ebp - 0x10]
call fcn.00403e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fd44
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404d90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d90
ret
Function at 0x53fd84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051ec
xor eax, eax
push ebp
push 0x53feaa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00404d6c
mov ebx, 1
lea eax, [ebp - 0x10]
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx]
xor edx, ebx
call fcn.00404f54
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00405038
inc ebx
cmp ebx, 0x21
jne 0x53fdb9
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0044b724
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00404e04
xor esi, esi
lea eax, [ebp - 0xc]
call fcn.00404d6c
mov ebx, 1
lea edx, [ebx + ebx*2]
inc edx
sub edx, esi
lea eax, [ebp - 4]
mov ecx, 1
call fcn.004052a4
inc esi
inc ebx
cmp ebx, 0x21
jne 0x53fe03
mov dl, 1
mov eax, dword [0x41c468]
call fcn.00403dfc
mov ebx, eax
mov dl, 1
mov eax, dword [0x41c468]
call fcn.00403dfc
mov esi, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0053e330
push 0
push 0
mov eax, ebx
call fcn.00421750
push 0
push 0
mov eax, esi
call fcn.00421750
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, esi
call fcn.0053ca3c
lea edx, [ebp - 4]
mov eax, esi
call fcn.0053e3e0
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404dc0
mov eax, ebx
call fcn.00403e2c
mov eax, esi
call fcn.00403e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53feb1
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404d90
ret
Function at 0x547c68
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5f6d0c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x547c8a
shr eax, 1
xor eax, 0xedb88320
jmp 0x547c8c
shr eax, 1
dec edx
jne 0x547c78
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x547c71
mov byte [0x5f710c], 1
pop esi
pop ebx
ret

Function at 0x547ca8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5f710c], 0
jne 0x547cbf
call fcn.00547c68
mov eax, edi
dec eax
test eax, eax
jl 0x547ce7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5f6d0c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x547cc9
mov eax, ebx
pop edi
pop esi
pop ebx
ret