joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b1d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d802c]
cmp byte [eax + 0xc], 0
je 0x45b33d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b336
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ddca0], 0
jne 0x45b224
push 0x45b344
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45b34c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddca0], eax
cmp dword [0x4d693c], 0
jne 0x45b31f
push 0x45b35c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d693c], eax
cmp dword [0x4d693c], 0
je 0x45b31f
push 0x45b368
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddca4], eax
push 0x45b378
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddca8], eax
push 0x45b38c
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddcac], eax
push 0x45b3a4
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddcb0], eax
push 0x45b3bc
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddcb4], eax
push 0x45b3d0
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddcb8], eax
push 0x45b3e8
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddcbc], eax
push 0x45b400
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddcc0], eax
push 0x45b41c
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddcc4], eax
push 0x45b428
mov eax, dword [0x4d693c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ddcc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b33d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x460e88
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x4ddcd8]
cmp esi, dword [eax + 0x30]
jne 0x460eaf
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x460ede
mov eax, dword [0x4ddcd8]
cmp esi, dword [eax + 0x30]
jne 0x460eda
mov eax, dword [0x4ddcd8]
cmp byte [eax + 0x5b], 0
jne 0x460ede
xor eax, eax
jmp 0x460ee0
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x460ef5
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x460f0c
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x460f1b
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x460f2a
test bl, bl
je 0x460f40
test bl, bl
je 0x460f38
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x460f40
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4611e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x46120a
mov eax, esp
push eax
push 0x4611ac
call sub.user32.dll_EnumWindows
jmp 0x46121d
mov eax, esp
push eax
push 0x46118c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4612a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4612fc]
test si, 4
je 0x4612bd
or bl, 1
test si, 8
je 0x4612c7
or bl, 4
test si, 1
je 0x4612d1
or bl, 8
test si, 2
je 0x4612db
or bl, 0x10
test si, 0x10
je 0x4612e5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4612f4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x461300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x46133c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46131a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461329
or bl, 4
test esi, 0x20000000
je 0x461334
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x469224
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x469236
add esp, 0xfffffff0
call fcn.00404088
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422b88
mov eax, dword [0x4d7bf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4695c8
mov eax, dword [0x4d7c00]
mov dword [eax + 4], ebx
mov dword [eax], 0x4695d4
mov eax, ebx
call fcn.004695e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418ed4]
call fcn.00403d34
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418ed4]
call fcn.00403d34
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418ed4]
call fcn.00403d34
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418ed4]
call fcn.00403d34
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418ed4]
call fcn.00403d34
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, 0x464c74
push eax
push 0
push 0
mov eax, dword [0x4d7db4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x428ffc]
call fcn.0042a8f0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x428ffc]
call fcn.0042a8f0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x428ffc]
call fcn.0042a8f0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00469a10
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4698e0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4698e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4698e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x469373
call fcn.004040e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4696c4
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 0x46986f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x469850
mov dl, 1
mov eax, dword [0x419630]
call fcn.00403d34
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c70
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46983f
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.0045b52c
test al, al
je 0x469832
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, 0x469880
lea eax, [ebp - 0x254]
call fcn.0040ac40
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x469832
xor eax, eax
push ebp
push 0x46982b
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 0x4698b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x469814
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ee0
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 0x469814
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469832
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x469735
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041e7e0
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 0x469876
lea eax, [ebp - 0x260]
call fcn.00404c70
ret

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

Disassembly:
push ecx
mov eax, dword [0x4ddcd8]
cmp byte [eax + 0xad], 0
jne 0x46a259
cmp dword [0x4ddcf4], 0
jne 0x46a21a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46a1a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4ddcf4], eax
cmp dword [0x4ddcf0], 0
jne 0x46a235
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4ddcf0], eax
cmp dword [0x4ddcf8], 0
jne 0x46a259
push esp
push 0
push 0
push 0x46a148
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4ddcf8], eax
pop edx
ret
Function at 0x46a42c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a443
add esp, 0xfffffff0
call fcn.00404088
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422b88
mov eax, dword [0x4d7d94]
cmp word [eax + 2], 0
jne 0x46a46b
mov eax, dword [0x4d7d94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c09c
mov eax, dword [0x4d7e74]
cmp word [eax + 2], 0
jne 0x46a485
mov eax, dword [0x4d7e74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c2a8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418ed4]
call fcn.00403d34
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418ed4]
call fcn.00403d34
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x418ed4]
call fcn.00403d34
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 [0x429bac]
call fcn.00431808
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46a63c
mov eax, dword [0x4d7c74]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431bdc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46c97c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d7c74]
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.0040e848
test eax, eax
je 0x46a58c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a5c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e87c
test eax, eax
je 0x46a5a0
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.00404ee0
mov byte [ebx + 0xd4], 0
push ebx
push 0x46bbac
call fcn.00423d04
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d7b04]
cmp byte [eax], 0
jne 0x46a5f1
mov eax, ebx
call fcn.0046a780
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.0046cb54
mov eax, ebx
call fcn.0046d6b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46a631
call fcn.004040e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46aa00
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4ddcd8]
cmp dword [eax + 0x30], 0
je 0x46ae15
test bl, bl
jne 0x46ad66
cmp dword [esi + 0x9c], 0
jne 0x46ad5b
mov eax, esi
call fcn.0046d534
push eax
push 0x46abe4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46ad2c
mov eax, dword [0x4ddcd8]
call fcn.0046dc14
test al, al
je 0x46ad2c
mov eax, dword [0x4ddcfc]
call fcn.00406288
mov edi, eax
cmp edi, 0
jl 0x46ad2c
push 0
mov eax, dword [0x4ddcfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46ad16
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46ad5b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b688
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46ad3b
inc dword [esi + 0x9c]
jmp 0x46ae15
cmp dword [esi + 0x9c], 0
jle 0x46ae15
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46ae15
cmp dword [esi + 0x44], 0
je 0x46adc1
mov eax, dword [0x4ddcd8]
call fcn.0046dc14
test al, al
je 0x46adc1
mov eax, dword [0x4ddcfc]
call fcn.00406288
mov edi, eax
cmp edi, 0
jl 0x46adc1
push 5
mov eax, dword [0x4ddcfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46adab
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46adf0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b688
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46add0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4ddcfc
mov ecx, 1
mov edx, dword [0x46abc4]
call fcn.0040643c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46b8a8
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 0x46b912
mov eax, ebx
call fcn.0046dc14
test al, al
jne 0x46b912
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.00404d60
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46b8ff
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46b91f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cc4
jmp 0x46b91f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cc4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46cd38
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46cda6
mov eax, esi
call fcn.004561ac
test al, al
je 0x46cda6
mov eax, dword [ebx + 0x84]
call fcn.00455dfc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46cda6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46cd9a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455dfc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044dd58
jmp 0x46cda6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046cb74
pop esi
pop ebx
ret
Function at 0x46e454
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407f8c]
call fcn.00405930
xor eax, eax
push ebp
push 0x46e5f5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d6a94], 0
jne 0x46e4af
mov ecx, dword [0x4d7b18]
mov dl, 1
mov eax, dword [0x4085f4]
call fcn.0040d8b0
call fcn.0040469c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403654
mov eax, ebx
call fcn.004055e8
mov dword [ebp - 0x24], eax
mov esi, 0x46e604
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406b2c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004055f8
test eax, eax
jle 0x46e598
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46e584
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ee0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46e52a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404ef8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46e540
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404ef8
mov eax, dword [ebp - 0x54]
call fcn.00405100
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ee0
mov eax, dword [ebp - 0x58]
call fcn.00405100
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46e586
xor eax, eax
test al, al
je 0x46e591
mov ebx, 0x15
jmp 0x46e59d
mov ebx, 0x10
jmp 0x46e59d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4d6a94]
call fcn.0046e2d4
mov eax, dword [ebp - 4]
call fcn.0046e2d4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406b44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e5fc
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404c94
lea eax, [ebp - 0xc]
mov edx, dword [0x407f8c]
call fcn.00405a00
ret

Function at 0x47e960
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push esp
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040a7d0
add esp, 0x100
pop ebx
ret

Function at 0x497a04
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403654
ret
Function at 0x4a0224
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a02d8
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [esi + 0x2c]
lea eax, [ebp - 4]
push eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, 0x4a02f0
mov dword [ebp - 0x1c], eax
mov eax, 0x4a0300
mov dword [ebp - 0x18], eax
mov eax, 0x4a0310
mov dword [ebp - 0x14], eax
mov eax, 0x4a0320
mov dword [ebp - 0x10], eax
mov eax, 0x4a0330
mov dword [ebp - 0xc], eax
mov eax, 0x4a0340
mov dword [ebp - 8], eax
lea edx, [ebp - 0x20]
movzx eax, bl
mov ecx, 6
call fcn.004819c4
push dword [ebp - 4]
lea edx, [ebp - 0x24]
movzx eax, word [esi + 0xc]
call fcn.004099e8
push dword [ebp - 0x24]
push dword [esi + 0x30]
mov eax, edi
mov edx, 4
call fcn.00405004
inc word [esi + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a02df
lea eax, [ebp - 0x24]
call fcn.00404c70
lea eax, [ebp - 4]
call fcn.00404c70
ret
Function at 0x431005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x6be07337
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x49687b45
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x40ce0a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push esi
lea edx, [6]
push edx
mov edi, 0x4ee
shr edi, 8
push edi
pop dword [0x42499a]
push 0x424b96
mov ebx, 0x482
and ebx, 0xff
or ebx, ebx
jne 0x40ce3f
shl ebx, 6
mov dword [ebp - 0x30], ebx
push 0x60
call fcn.0040c224
push str.ISAietLG
push str.qcnixX
call dword [sym.imp.kernel32.dll_lstrcmpA]
mov dword [0x424a82], eax
push 0x101
push 0
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
mov dword [0x4249ee], eax
mov edi, 0x4c5
and edi, 0xfff
ror edi, 0xc
mov dword [ebp - 0x24], edi
mov esi, 0xca0
add esi, dword [0x422139]
test esi, esi
jne 0x40ce93
shr esi, 4
mov dword [ebp - 0x10], esi
mov eax, 0x679
sub eax, 0xde6
test eax, eax
jne 0x40cea7
shl eax, 8
push eax
pop dword [0x424983]
push str.yangs
push str.TZzMCn
call dword [sym.imp.kernel32.dll_lstrcmpA]
mov dword [0x424b04], eax
push 0x101
push 0
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
mov dword [0x42491b], eax
push 0x422c1f
push str.hdTXVA
call dword [sym.imp.kernel32.dll_lstrcmpA]
mov dword [0x424ad2], eax
mov dword [0x424ce9], 0xc8a8e1b2
push 0x101
push 0
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
mov dword [0x4248f0], eax
push esp
push esi
call fcn.0040c144
lea edx, [0x1f]
push edx
lea edx, [0x20]
push edx
push edi
call fcn.0040c224
push 0x101
push 0
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
mov dword [0x4248b6], eax
add dword [0x424ce9], 0x3797f1d3
mov edi, 0x3d4
mov dword [0x424840], edi
sub edi, 0x8b3
push edi
pop dword [0x4248dc]
mov edi, 0x485
add edi, dword [0x423b1b]
push edi
pop dword [0x42496d]
mov edx, dword [0x42496d]
mov dword [0x424921], edx
push dword [0x422387]
push dword [0x423169]
push str.oBzz
call dword [sym.imp.winspool.drv_AddPrinterW]
push eax
push eax
push eax
push str.hFxWieFBWvdphN
push eax
call dword [sym.imp.winspool.drv_SetPrinterDataW]
push 0x30
push 0x424ab6
lea edx, [0x47]
push edx
call fcn.0040c0d4
lea edx, [0x17]
push edx
lea edx, [0x2f]
push edx
push 0x424a97
mov ecx, 0x8d8
and ecx, 0xff
cmp ecx, 0x71
jne 0x40cfd6
push ecx
pop dword [0x4248ae]
mov dword [0x4249c3], ecx
push 0x424a1a
jmp 0x4622dc