joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443aa8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004069b0
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043e744
test ebx, ebx
jne 0x443afb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004439e4
mov ebx, eax
test ebx, ebx
je 0x443be6
cmp esi, ebx
je 0x443b24
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x443b39
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x443b71
add eax, 0xffffff5f
sub eax, 2
jb 0x443b89
dec eax
sub eax, 2
jb 0x443b9d
dec eax
sub eax, 2
jb 0x443b93
jmp 0x443ba7
add eax, 0xfffffdff
sub eax, 2
jb 0x443b89
dec eax
sub eax, 2
jb 0x443b9d
dec eax
sub eax, 2
jb 0x443b93
jmp 0x443ba7
mov byte [esp + 0x120], 0
jmp 0x443baf
mov byte [esp + 0x120], 2
jmp 0x443baf
mov byte [esp + 0x120], 1
jmp 0x443baf
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00451940
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043ff04
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x443be8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x44be2c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x469cc4]
cmp byte [eax + 0xc], 0
je 0x44bf99
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44bf92
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46ec5c], 0
jne 0x44be80
push 0x44bfa0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44bfa8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec5c], eax
cmp dword [0x4695f0], 0
jne 0x44bf7b
push 0x44bfb8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4695f0], eax
cmp dword [0x4695f0], 0
je 0x44bf7b
push 0x44bfc4
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec60], eax
push 0x44bfd4
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec64], eax
push 0x44bfe8
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec68], eax
push 0x44c000
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec6c], eax
push 0x44c018
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec70], eax
push 0x44c02c
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec74], eax
push 0x44c044
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec78], eax
push 0x44c05c
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec7c], eax
push 0x44c078
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec80], eax
push 0x44c084
mov eax, dword [0x4695f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ec84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bf99
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x451488
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 [0x46ec94]
cmp esi, dword [eax + 0x30]
jne 0x4514af
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 0x4514de
mov eax, dword [0x46ec94]
cmp esi, dword [eax + 0x30]
jne 0x4514da
mov eax, dword [0x46ec94]
cmp byte [eax + 0x5b], 0
jne 0x4514de
xor eax, eax
jmp 0x4514e0
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x4514f5
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x45150c
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x45151b
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 0x45152a
test bl, bl
je 0x451540
test bl, bl
je 0x451538
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x451540
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4517e4
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 0x45180a
mov eax, esp
push eax
push 0x4517ac
call sub.user32.dll_EnumWindows
jmp 0x45181d
mov eax, esp
push eax
push 0x45178c
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 0x4518a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4518fc]
test si, 4
je 0x4518bd
or bl, 1
test si, 8
je 0x4518c7
or bl, 4
test si, 1
je 0x4518d1
or bl, 8
test si, 2
je 0x4518db
or bl, 0x10
test si, 0x10
je 0x4518e5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4518f4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45193c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45191a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451929
or bl, 4
test esi, 0x20000000
je 0x451934
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459824
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x459836
add esp, 0xfffffff0
call fcn.00403de4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dc30
mov eax, dword [0x469954]
mov dword [eax + 4], ebx
mov dword [eax], 0x459bc8
mov eax, dword [0x469960]
mov dword [eax + 4], ebx
mov dword [eax], 0x459bd4
mov eax, ebx
call fcn.00459be0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4159e0]
call fcn.00403a90
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4159e0]
call fcn.00403a90
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4159e0]
call fcn.00403a90
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4159e0]
call fcn.00403a90
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4159e0]
call fcn.00403a90
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, 0x455274
push eax
push 0
push 0
mov eax, dword [0x469abc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421808]
call fcn.00423024
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421808]
call fcn.00423024
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421808]
call fcn.00423024
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045a010
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459ee0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459ee0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459ee0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459973
call fcn.00403e3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459cc4
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 0x459e6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459e50
mov dl, 1
mov eax, dword [0x415e04]
call fcn.00403a90
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048ec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459e3f
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.0044c188
test al, al
je 0x459e32
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, 0x459e80
lea eax, [ebp - 0x254]
call fcn.00409a3c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459e32
xor eax, eax
push ebp
push 0x459e2b
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 0x459eb8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459e14
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b5c
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 0x459e14
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459e32
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459d35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419adc
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 0x459e76
lea eax, [ebp - 0x260]
call fcn.004048ec
ret

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

Disassembly:
push ecx
mov eax, dword [0x46ec94]
cmp byte [eax + 0xad], 0
jne 0x45a859
cmp dword [0x46ecb0], 0
jne 0x45a81a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a7a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46ecb0], eax
cmp dword [0x46ecac], 0
jne 0x45a835
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46ecac], eax
cmp dword [0x46ecb4], 0
jne 0x45a859
push esp
push 0
push 0
push 0x45a748
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46ecb4], eax
pop edx
ret
Function at 0x45aa2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45aa43
add esp, 0xfffffff0
call fcn.00403de4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dc30
mov eax, dword [0x469aa8]
cmp word [eax + 2], 0
jne 0x45aa6b
mov eax, dword [0x469aa8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c62c
mov eax, dword [0x469b54]
cmp word [eax + 2], 0
jne 0x45aa85
mov eax, dword [0x469b54]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c838
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4159e0]
call fcn.00403a90
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4159e0]
call fcn.00403a90
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4159e0]
call fcn.00403a90
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 [0x4222e0]
call fcn.00429e68
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45ac3c
mov eax, dword [0x4699c4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a23c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45cefc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4699c4]
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.0040d284
test eax, eax
je 0x45ab8c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004093f4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d2b8
test eax, eax
je 0x45aba0
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.00404b5c
mov byte [ebx + 0xd4], 0
push ebx
push 0x45c154
call fcn.0041edac
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46989c]
cmp byte [eax], 0
jne 0x45abf1
mov eax, ebx
call fcn.0045ad80
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.0045d0d4
mov eax, ebx
call fcn.0045dc38
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ac31
call fcn.00403e3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b000
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45b09f
cmp dword [ebx + 0x94], 0
jne 0x45b099
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45af88
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b099
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 0x45b05f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b099
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.00417d84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b06e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46ec94]
cmp dword [eax + 0x30], 0
je 0x45b415
test bl, bl
jne 0x45b366
cmp dword [esi + 0x9c], 0
jne 0x45b35b
mov eax, esi
call fcn.0045dab4
push eax
push 0x45b1e4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45b32c
mov eax, dword [0x46ec94]
call fcn.0045e194
test al, al
je 0x45b32c
mov eax, dword [0x46ecb8]
call fcn.00405a30
mov edi, eax
cmp edi, 0
jl 0x45b32c
push 0
mov eax, dword [0x46ecb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45b316
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45b35b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417d84
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45b33b
inc dword [esi + 0x9c]
jmp 0x45b415
cmp dword [esi + 0x9c], 0
jle 0x45b415
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45b415
cmp dword [esi + 0x44], 0
je 0x45b3c1
mov eax, dword [0x46ec94]
call fcn.0045e194
test al, al
je 0x45b3c1
mov eax, dword [0x46ecb8]
call fcn.00405a30
mov edi, eax
cmp edi, 0
jl 0x45b3c1
push 5
mov eax, dword [0x46ecb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45b3ab
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45b3f0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417d84
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45b3d0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46ecb8
mov ecx, 1
mov edx, dword [0x45b1c4]
call fcn.00405be4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45bea8
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 0x45bf12
mov eax, ebx
call fcn.0045e194
test al, al
jne 0x45bf12
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.004049dc
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45beff
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45bf1f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404940
jmp 0x45bf1f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404940
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45d2b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d326
mov eax, esi
call fcn.00446f94
test al, al
je 0x45d326
mov eax, dword [ebx + 0x84]
call fcn.00446be4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d326
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45d31a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446be4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043eb34
jmp 0x45d326
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045d0f4
pop esi
pop ebx
ret
Function at 0x45e888
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 [0x4075e8]
call fcn.00405330
xor eax, eax
push ebp
push 0x45ea29
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469748], 0
jne 0x45e8e3
mov ecx, dword [0x4698ac]
mov dl, 1
mov eax, dword [0x407bb4]
call fcn.0040c4e8
call fcn.00404334
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004033f4
mov eax, ebx
call fcn.00405200
mov dword [ebp - 0x24], eax
mov esi, 0x45ea38
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.004062c8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405210
test eax, eax
jle 0x45e9cc
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 0x45e9b8
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404b5c
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x45e95e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404b74
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45e974
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404b74
mov eax, dword [ebp - 0x54]
call fcn.00404d7c
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404b5c
mov eax, dword [ebp - 0x58]
call fcn.00404d7c
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x45e9ba
xor eax, eax
test al, al
je 0x45e9c5
mov ebx, 0x15
jmp 0x45e9d1
mov ebx, 0x10
jmp 0x45e9d1
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 [0x469748]
call fcn.0045e708
mov eax, dword [ebp - 4]
call fcn.0045e708
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004062e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ea30
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404910
lea eax, [ebp - 0xc]
mov edx, dword [0x4075e8]
call fcn.00405400
ret
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret