joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449684
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 0x4496a0
cmp dword [esi + 4], 0
je 0x4496cd
test byte [ebx + 0x55], 1
jne 0x4496bf
mov eax, ebx
call fcn.004482dc
test eax, eax
jne 0x4496bf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4497dd
mov edx, esi
mov eax, ebx
call fcn.004491a4
jmp 0x4497dd
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 0x4497d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044b454
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.00445f78
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00449684
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.0044b454
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4497dd
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 0x44fd00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ab0ec]
cmp byte [eax + 0xc], 0
je 0x44fe6d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44fe66
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4acbc8], 0
jne 0x44fd54
push 0x44fe74
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44fe7c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbc8], eax
cmp dword [0x4a9c7c], 0
jne 0x44fe4f
push 0x44fe8c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a9c7c], eax
cmp dword [0x4a9c7c], 0
je 0x44fe4f
push 0x44fe98
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbcc], eax
push 0x44fea8
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbd0], eax
push 0x44febc
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbd4], eax
push 0x44fed4
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbd8], eax
push 0x44feec
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbdc], eax
push 0x44ff00
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbe0], eax
push 0x44ff18
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbe4], eax
push 0x44ff30
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbe8], eax
push 0x44ff4c
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbec], eax
push 0x44ff58
mov eax, dword [0x4a9c7c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acbf0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe6d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x454130
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.004045d4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45417f
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.0040483c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45c00c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45c05c]
test si, 4
je 0x45c020
or bl, 1
test si, 8
je 0x45c02a
or bl, 4
test si, 1
je 0x45c034
or bl, 8
test si, 2
je 0x45c03e
or bl, 0x10
test si, 0x10
je 0x45c048
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c057
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45c060
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45c098]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c079
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c088
or bl, 4
test esi, 0x20000000
je 0x45c093
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4626b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4626c6
add esp, 0xfffffff0
call fcn.00403bcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422d50
mov eax, dword [0x4aad1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x462a58
mov eax, dword [0x4aad28]
mov dword [eax + 4], ebx
mov dword [eax], 0x462a64
mov eax, ebx
call fcn.00462a70
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4186e4]
call fcn.00403838
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4186e4]
call fcn.00403838
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4186e4]
call fcn.00403838
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4186e4]
call fcn.00403838
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4186e4]
call fcn.00403838
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, 0x45ef38
push eax
push 0
push 0
mov eax, dword [0x4aaea0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4247a8]
call fcn.00425ebc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4247a8]
call fcn.00425ebc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4247a8]
call fcn.00425ebc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00462ed8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462db4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462db4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462db4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462803
call fcn.00403c24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x462b98
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 0x462d43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x462d24
mov dl, 1
mov eax, dword [0x418d48]
call fcn.00403838
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x462d13
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.00450060
test al, al
je 0x462d06
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, 0x462d54
lea eax, [ebp - 0x254]
call fcn.00409a1c
push eax
push reloc.GBL.dll_Ordinal_2
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462d06
xor eax, eax
push ebp
push 0x462cff
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 0x462d8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462ce8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
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 0x462ce8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462d06
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462c09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d2bc
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 0x462d4a
lea eax, [ebp - 0x260]
call fcn.004045d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4acc0c]
cmp byte [eax + 0xa5], 0
jne 0x4636e9
cmp dword [0x4acc24], 0
jne 0x4636aa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x463634
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4acc24], eax
cmp dword [0x4acc20], 0
jne 0x4636c5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4acc20], eax
cmp dword [0x4acc28], 0
jne 0x4636e9
push esp
push 0
push 0
push 0x4635d8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4acc28], eax
pop edx
ret
Function at 0x463810
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x463827
add esp, 0xfffffff0
call fcn.00403bcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422d50
mov eax, dword [0x4aae8c]
cmp word [eax + 2], 0
jne 0x46384f
mov eax, dword [0x4aae8c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464e44
mov eax, dword [0x4aaf50]
cmp word [eax + 2], 0
jne 0x463869
mov eax, dword [0x4aaf50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046503c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4186e4]
call fcn.00403838
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4186e4]
call fcn.00403838
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], Ordinal_27
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425228]
call fcn.0042cdc8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4639f0
mov eax, dword [0x4aad94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d198
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4655bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4aad94]
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.0040d374
test eax, eax
je 0x46395e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409364
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d39c
test eax, eax
je 0x463972
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
mov eax, dword [0x4aac38]
cmp byte [eax], 0
jne 0x4639a6
mov eax, ebx
call fcn.00463b18
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00465798
mov eax, ebx
call fcn.00466148
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4639e6
call fcn.00403c24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463d8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4acc0c]
cmp dword [eax + 0x30], 0
je 0x463e36
cmp dword [ebx + 0x94], 0
jne 0x463e30
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463d1c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463e30
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 0x463df6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463e30
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.0041af14
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463e05
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464914
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 0x464949
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.004046c4
jmp 0x464956
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404628
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465974
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4659b5
mov eax, esi
call fcn.0044b758
test al, al
je 0x4659b5
mov eax, dword [ebx + 0x84]
call fcn.0044b454
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4659b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b454
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4708b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x470998
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00408fd0
test al, al
je 0x470982
push 5
mov eax, dword [ebp - 4]
call fcn.00404a84
mov ebx, eax
push ebx
call sub.kernel32.dll_WinExec
mov ebx, 1
jmp 0x470982
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47099f
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x4709a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x470a3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.0040272c
mov ebx, eax
push 0x104
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00409520
mov eax, ebx
call fcn.0040274c
mov eax, dword [ebp - 4]
call fcn.0040488c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x470a05
lea eax, [ebp - 4]
mov edx, 0x470a50
call fcn.00404894
lea eax, [ebp - 8]
mov ecx, 0x470a5c
mov edx, dword [ebp - 4]
call fcn.004048d8
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004708b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470a41
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045f8
ret

Function at 0x47402c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x47405a
mov eax, ebx
call fcn.00474ae4
cmp dword [ebx + 0x3c], 0
je 0x474053
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4740cb
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4740bd
cmp dword [ebx + 8], 0
je 0x47407c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x47408e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4740bd
cmp dword [ebx + 8], 0
je 0x47406f
cmp eax, 3
je 0x4740a1
dec eax
jne 0x47406f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47406f
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x47406f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4740e9
cmp dword [ebx + 0x10], 0xcc
je 0x4740e9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004740f4
pop ebx
ret
Function at 0x4923b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49248c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ad1d4], 0
jne 0x492470
lea eax, [ebp - 4]
mov edx, 0x4924a4
call fcn.0040466c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a84
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x492470
mov eax, ebx
call fcn.0040272c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x492469
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x492453
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4924b4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x492453
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4ad1d4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492470
mov eax, dword [ebp - 0xc]
call fcn.0040274c
ret
mov ebx, dword [0x4ad1d4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492493
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x49ca70
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4ad1f8], 0
jne 0x49ca93
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x49c9e4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4ad1f8], eax
ret
Function at 0x401620
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov ebx, eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
jne 0x401650
call fcn.00409950
test eax, eax
mov dword [esp + 0xc], eax
jne 0x401660
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0xc]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 0
push 0x10
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, 0x3a98
call fcn.00402bf0
test eax, eax
je 0x40169b
call fcn.00402bf0
push eax
call fcn.00481b77
add esp, 4
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4016c6
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
push str.terminate_server_process_abnormaly_:__s
push 0x1000000
call fcn.0042b670
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409950
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x138
mov eax, dword [0x4ce0a0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4099a1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00481ba7
add esp, 0x138
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebp, ebp
lea esp, [esp]
call edi
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x4099d4
test ecx, ecx
je 0x4099d4
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.004828c0
lea edx, [esp + 0x3c]
add esp, 8
cmp eax, edx
je 0x4099e5
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4099b0
jmp 0x4099e9
mov ebp, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00481ba7
add esp, 0x138
ret
Function at 0x4237f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x40054]
mov esi, dword [eax]
lea ebx, [ebp + 0x40050]
mov edi, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
test edi, edi
mov eax, ebx
mov ecx, dword [eax + 4]
je 0x423899
cmp edi, eax
jne 0x423899
cmp esi, ecx
je 0x42389e
cmp esi, dword [edi + 4]
je 0x423894
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
jb 0x423881
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
cmp esi, dword [edi + 4]
je 0x423894
movzx ecx, byte [esi + 0xc]
mov edx, dword [esi + 0x18]
push ecx
mov ecx, ebp
call edx
test al, al
jne 0x423881
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
call fcn.004255d0
push esi
push edi
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00424740
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x42380f
lea edx, [esp + 0x10]
call fcn.004255d0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x423817
call fcn.00425490
call fcn.00425500
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x437cc0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4d24b0]
test eax, eax
je 0x437d04
mov eax, dword [eax + 0xbc]
push 0
push 0
push 0
push 0
mov dword [0x4d249c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0x437e00
push 0
push 0
mov dword [0x4d24a4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4d24a0], eax
pop ecx
ret