joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a2d8
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 0x46a483
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46a464
mov dl, 1
mov eax, dword [0x417e50]
call fcn.00403bec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b44
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46a453
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.0045b740
test al, al
je 0x46a446
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, 0x46a494
lea eax, [ebp - 0x254]
call fcn.0040a3cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46a446
xor eax, eax
push ebp
push 0x46a43f
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 0x46a4cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46a428
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
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 0x46a428
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a446
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46a349
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041c67c
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 0x46a48a
lea eax, [ebp - 0x260]
call fcn.00404b44
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a5ca8]
cmp byte [eax + 0xad], 0
jne 0x46ae6d
cmp dword [0x4a5cc4], 0
jne 0x46ae2e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46adb8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a5cc4], eax
cmp dword [0x4a5cc0], 0
jne 0x46ae49
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a5cc0], eax
cmp dword [0x4a5cc8], 0
jne 0x46ae6d
push esp
push 0
push 0
push 0x46ad5c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a5cc8], eax
pop edx
ret
Function at 0x46b070
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46b087
add esp, 0xfffffff0
call fcn.00403f68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423178
mov eax, dword [0x4a000c]
cmp word [eax + 2], 0
jne 0x46b0af
mov eax, dword [0x4a000c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046cdb8
mov eax, dword [0x4a0144]
cmp word [eax + 2], 0
jne 0x46b0c9
mov eax, dword [0x4a0144]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046cfc4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4177e4]
call fcn.00403bec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4177e4]
call fcn.00403bec
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4177e4]
call fcn.00403bec
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 [0x427d00]
call fcn.0042dd18
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46b280
mov eax, dword [0x49fe98]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e0ec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46d698
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49fe98]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040e078
test eax, eax
je 0x46b1d0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004099d4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e0ac
test eax, eax
je 0x46b1e4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
mov byte [ebx + 0xd4], 0
push ebx
push 0x46c844
call fcn.004242f4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x49fcb4]
cmp byte [eax], 0
jne 0x46b235
mov eax, ebx
call fcn.0046b3c4
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.0046d8ac
mov eax, ebx
call fcn.0046e410
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46b275
call fcn.00403fc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b644
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a5ca8]
cmp dword [eax + 0x30], 0
je 0x46ba59
test bl, bl
jne 0x46b9aa
cmp dword [esi + 0x9c], 0
jne 0x46b99f
mov eax, esi
call fcn.0046e28c
push eax
push 0x46b828
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46b970
mov eax, dword [0x4a5ca8]
call fcn.0046e96c
test al, al
je 0x46b970
mov eax, dword [0x4a5ccc]
call fcn.00405c78
mov edi, eax
cmp edi, 0
jl 0x46b970
push 0
mov eax, dword [0x4a5ccc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46b95a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46b99f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a0d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46b97f
inc dword [esi + 0x9c]
jmp 0x46ba59
cmp dword [esi + 0x9c], 0
jle 0x46ba59
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46ba59
cmp dword [esi + 0x44], 0
je 0x46ba05
mov eax, dword [0x4a5ca8]
call fcn.0046e96c
test al, al
je 0x46ba05
mov eax, dword [0x4a5ccc]
call fcn.00405c78
mov edi, eax
cmp edi, 0
jl 0x46ba05
push 5
mov eax, dword [0x4a5ccc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46b9ef
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46ba34
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a0d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46ba14
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4a5ccc
mov ecx, 1
mov edx, dword [0x46b808]
call fcn.00405e2c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46c540
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 0x46c5aa
mov eax, ebx
call fcn.0046e96c
test al, al
jne 0x46c5aa
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.00404c34
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46c597
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46c5b7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b98
jmp 0x46c5b7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b98
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46da90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46dafe
mov eax, esi
call fcn.004562e4
test al, al
je 0x46dafe
mov eax, dword [ebx + 0x84]
call fcn.00455f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46dafe
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46daf2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455f44
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044ddb4
jmp 0x46dafe
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046d8cc
pop esi
pop ebx
ret

Function at 0x4959dc
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 4]
xor ecx, ecx
mov edx, 0x58
call fcn.0040353c
lea eax, [ebx + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebx
ret

Function at 0x49650c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffffc0
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x40
call fcn.0040353c
push 0x40
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x40
call fcn.00404db4
add esp, 0x40
pop ebx
ret

Function at 0x496970
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x496a1e
push 0xf01ff
mov eax, ebx
call fcn.00404fd4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x496a1e
xor eax, eax
push ebp
push 0x4969fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x496a1e
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x496a2c
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x496ada
push 0xf01ff
mov eax, ebx
call fcn.00404fd4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x496ada
xor eax, eax
push ebp
push 0x496ab7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x496ada
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4995c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff18
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404fc4
xor eax, eax
push ebp
push 0x4996c8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404bdc
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x499620
lea eax, [ebp - 8]
mov ecx, 1
mov edx, 1
call fcn.0040507c
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.00404fd4
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x4996a2
xor ebx, ebx
mov dword [ebp - 0x14], 0xc8
jmp 0x499676
lea eax, [ebp - 0xe8]
lea edx, [ebp - 0xe1]
mov ecx, 0xc9
call fcn.00404db4
mov edx, dword [ebp - 0xe8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
mov dword [ebp - 0x14], 0xc8
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xe1]
push eax
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
je 0x49964b
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4996cf
lea eax, [ebp - 0xe8]
call fcn.00404b44
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b68
ret
Function at 0x401070
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x1c]
push eax
push 0x20019
push 0
push edi
push ebx
mov esi, 1
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jne 0x4010d7
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x401114
mov edx, dword [esp + 0x10]
xor esi, esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call fcn.00401130
test eax, eax
je 0x40111f
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push edi
push ebx
call ebp
test eax, eax
jne 0x40111f
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x401114
xor esi, esi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401420
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
cmp eax, 0xffffffff
mov edi, 1
mov dword [esi], 0x224
je 0x40147f
push esi
push eax
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x40147f
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea edi, [esi + 0x20]
push ebx
push edi
call ebp
add esp, 8
test eax, eax
je 0x401478
mov eax, dword [esp + 0x14]
push esi
push eax
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x401454
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401490
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 0xffffffff
mov ebp, 1
mov dword [esi], 0x128
je 0x4014cb
push esi
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4014cb
mov ebx, dword [esp + 0x18]
cmp dword [esi + 8], ebx
je 0x4014d2
push esi
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4014bb
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x8055f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x80b4cc]
cmp dword [eax + 0x28], 0
jne 0x805608
xor eax, eax
jmp 0x805737
mov ecx, dword [0x80b43c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x80b430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x80b42c], eax
push 0
call dword [0x809138]
mov dword [ebp - 0x10], eax
push 1
call dword [0x809138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x80b430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x80b42c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x80b4b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x809680
push 0x8096d0
push 0x88
call dword [0x809134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x80b428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x80910c]
push eax
call fcn.00805530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0x809148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x80912c]
push 0x8055c0
mov edx, dword [0x80b4cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0x80913c]
mov dword [0x80b434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x809130]
test eax, eax
je 0x805737
cmp dword [ebp - 0x38], 0x12
jne 0x80572b
mov dword [0x80b444], 0
call fcn.00805740
xor eax, eax
jmp 0x805737
lea edx, [ebp - 0x3c]
push edx
call dword [0x809140]
jmp 0x8056fc
mov esp, ebp
pop ebp
ret 4

Function at 0x806b00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [fcn.008090dc]
call dword [fcn.00809124]
call dword [fcn.00809128]
call dword [fcn.00809094]
call dword [fcn.008090fc]
call dword [fcn.008090f4]
call dword [fcn.00809150]
call dword [fcn.0080900c]
call dword [fcn.00809000]
call dword [fcn.00809160]
call fcn.00808644
mov eax, 1
pop ebp
ret 4
Function at 0x80769c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x809168
sub eax, eax
test esi, esi
je 0x807774
sub eax, 1
test ecx, ecx
je 0x807772
test esi, 3
je 0x8076da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x8076bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x807759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x8076e4
mov ecx, edx
test ecx, ecx
je 0x807772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x80775f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x80777c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.008077ff
jae 0x80778a
xor ecx, ecx
call fcn.008077ff
jae 0x8077b9
xor eax, eax
call fcn.008077ff
jae 0x8077c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.008077ff
adc al, al
jae 0x8077ab
jne 0x8077f5
stosb byte es:[edi], al
jmp 0x80778d
call fcn.0080780b
sub ecx, ebx
jne 0x8077d2
call fcn.00807809
jmp 0x8077f1
lodsb al, byte [esi]
shr eax, 1
je 0x80781b
adc ecx, ecx
jmp 0x8077ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00807809
cmp eax, 0x7d00
jae 0x8077ee
cmp ah, 5
jae 0x8077ef
cmp eax, 0x7f
ja 0x8077f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x80778d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x80814c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80b000]
jne 0x808156
repz ret
jmp fcn.008083fd
Function at 0x1423745
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x11c
cmp dword [esp + 0x128], 0
je 0x142390a
push ebp
push esi
mov esi, dword [esp + 0x12c]
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1423908
push ebx
mov edx, esi
push edi
mov eax, dword [edx]
mov ebx, dword [esp + 0x130]
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
add eax, ebx
lea edi, [ecx + ebx]
mov dword [esp + 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x14237b0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [esp + 0x10], eax
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0141bf12
add esp, 0xc
test ebx, ebx
je 0x14238b0
mov eax, dword [esp + 0x18]
and dword [esp + 0x14], 0
mov eax, dword [eax]
test eax, eax
je 0x1423899
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esp + 0x130]
test eax, eax
jns 0x14237f5
movzx ebx, ax
jmp 0x14237fa
lea ebx, [ebp + 2]
add ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x20]
mov dword [edi + ecx], eax
test eax, eax
jne 0x1423871
cmp dword [0x142a5f0], 1
jne 0x1423871
push 0x104
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0141bf12
lea eax, [esp + 0x34]
push eax
call fcn.014239ee
lea eax, [esp + 0x38]
push 0x141afa4
push eax
call fcn.0141bf40
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.0141bf40
add esp, 0x20
lea eax, [esp + 0x24]
push 0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0141bf67
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x142a590]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ecx
mov edi, ecx
mov dword [esp + 0x14], ecx
shl edi, 2
mov eax, dword [edi + eax]
test eax, eax
jne 0x14237ee
mov esi, dword [esp + 0x134]
mov ebp, dword [esp + 0x1c]
inc ebp
imul edx, ebp, 0x14
mov dword [esp + 0x1c], ebp
add edx, esi
mov ecx, dword [edx + 0xc]
test ecx, ecx
jne 0x1423777
jmp 0x1423906
lea eax, [esp + 0x28]
push eax
call fcn.014239ee
lea eax, [esp + 0x2c]
mov dword [esp], 0x141af88
push eax
call fcn.0141bf40
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0141bf40
add esp, 0x10
cmp dword [0x142a5f0], 1
jne 0x1423906
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0141bf67
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x142a590]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop ebx
pop esi
pop ebp
xor eax, eax
add esp, 0x11c
ret