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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x53bc8c], 0
je 0x448251
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x536554]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x448251
mov eax, dword [0x53bc90]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x53bc8c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x448220
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x53bc8c]
call fcn.00419b50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x448218
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x448218
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x448218
mov eax, dword [ebp - 0x14]
call fcn.00452930
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x448218
push ebp
call fcn.004480c4
pop ecx
test al, al
jne 0x448218
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404584
test al, al
je 0x448218
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00404584
cmp byte [ebp - 1], 0
je 0x448218
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x448218
mov edx, dword [ebp - 0x14]
mov eax, dword [0x53bc90]
call fcn.00447834
inc edi
dec ebx
jne 0x44816d
mov eax, dword [0x53bc90]
cmp dword [eax + 8], 0
jle 0x448238
mov eax, dword [0x53bc90]
call fcn.004478ec
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x448251
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00447f28
pop ecx
test al, al
jne 0x448251
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f7f4
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.00407510
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.0044a490
test ebx, ebx
jne 0x44f847
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0044f730
mov ebx, eax
test ebx, ebx
je 0x44f932
cmp esi, ebx
je 0x44f870
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 0x44f885
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 0x44f8bd
add eax, 0xffffff5f
sub eax, 2
jb 0x44f8d5
dec eax
sub eax, 2
jb 0x44f8e9
dec eax
sub eax, 2
jb 0x44f8df
jmp 0x44f8f3
add eax, 0xfffffdff
sub eax, 2
jb 0x44f8d5
dec eax
sub eax, 2
jb 0x44f8e9
dec eax
sub eax, 2
jb 0x44f8df
jmp 0x44f8f3
mov byte [esp + 0x120], 0
jmp 0x44f8fb
mov byte [esp + 0x120], 2
jmp 0x44f8fb
mov byte [esp + 0x120], 1
jmp 0x44f8fb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0045da58
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0044bc50
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x44f934
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x457d4c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x536774]
cmp byte [eax + 0xc], 0
je 0x457eb9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457eb2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53bc9c], 0
jne 0x457da0
push 0x457ec0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x457ec8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bc9c], eax
cmp dword [0x4b06d8], 0
jne 0x457e9b
push 0x457ed8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b06d8], eax
cmp dword [0x4b06d8], 0
je 0x457e9b
push 0x457ee4
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bca0], eax
push 0x457ef4
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bca4], eax
push 0x457f08
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bca8], eax
push 0x457f20
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bcac], eax
push 0x457f38
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bcb0], eax
push 0x457f4c
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bcb4], eax
push 0x457f64
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bcb8], eax
push 0x457f7c
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bcbc], eax
push 0x457f98
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bcc0], eax
push 0x457fa4
mov eax, dword [0x4b06d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53bcc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457eb9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d584
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 [0x53bcd4]
cmp esi, dword [eax + 0x30]
jne 0x45d5ab
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 0x45d5da
mov eax, dword [0x53bcd4]
cmp esi, dword [eax + 0x30]
jne 0x45d5d6
mov eax, dword [0x53bcd4]
cmp byte [eax + 0x5b], 0
jne 0x45d5da
xor eax, eax
jmp 0x45d5dc
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x45d5f1
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x45d608
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x45d617
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 0x45d626
test bl, bl
je 0x45d63c
test bl, bl
je 0x45d634
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x45d63c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45d8e0
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 0x45d906
mov eax, esp
push eax
push 0x45d8a8
call sub.user32.dll_EnumWindows
jmp 0x45d919
mov eax, esp
push eax
push 0x45d888
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 0x45d9c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45da14]
test si, 4
je 0x45d9d5
or bl, 1
test si, 8
je 0x45d9df
or bl, 4
test si, 1
je 0x45d9e9
or bl, 8
test si, 2
je 0x45d9f3
or bl, 0x10
test si, 0x10
je 0x45d9fd
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45da0c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45da18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45da54]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45da32
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45da41
or bl, 4
test esi, 0x20000000
je 0x45da4c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46593c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46594e
add esp, 0xfffffff0
call fcn.004046ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004200c0
mov eax, dword [0x53631c]
mov dword [eax + 4], ebx
mov dword [eax], 0x465ce0
mov eax, dword [0x536328]
mov dword [eax + 4], ebx
mov dword [eax], 0x465cec
mov eax, ebx
call fcn.00465cf8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417750]
call fcn.00404358
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417750]
call fcn.00404358
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417750]
call fcn.00404358
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417750]
call fcn.00404358
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417750]
call fcn.00404358
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, 0x46138c
push eax
push 0
push 0
mov eax, dword [0x5364c0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423e80]
call fcn.00425774
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423e80]
call fcn.00425774
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423e80]
call fcn.00425774
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00466128
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465ff8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465ff8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465ff8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465a8b
call fcn.00404704
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x465ddc
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 0x465f87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x465f68
mov dl, 1
mov eax, dword [0x417b74]
call fcn.00404358
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405288
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x465f57
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.004580a8
test al, al
je 0x465f4a
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, 0x465f98
lea eax, [ebp - 0x254]
call fcn.0040ad60
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x465f4a
xor eax, eax
push ebp
push 0x465f43
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 0x465fd0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x465f2c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004054f8
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 0x465f2c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004054f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465f4a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x465e4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b8e8
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 0x465f8e
lea eax, [ebp - 0x260]
call fcn.00405288
ret

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

Disassembly:
push ecx
mov eax, dword [0x53bcd4]
cmp byte [eax + 0xad], 0
jne 0x466971
cmp dword [0x53bcf0], 0
jne 0x466932
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4668bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x53bcf0], eax
cmp dword [0x53bcec], 0
jne 0x46694d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x53bcec], eax
cmp dword [0x53bcf4], 0
jne 0x466971
push esp
push 0
push 0
push 0x466860
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x53bcf4], eax
pop edx
ret
Function at 0x466b44
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x466b5b
add esp, 0xfffffff0
call fcn.004046ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004200c0
mov eax, dword [0x5364a8]
cmp word [eax + 2], 0
jne 0x466b83
mov eax, dword [0x5364a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468744
mov eax, dword [0x536580]
cmp word [eax + 2], 0
jne 0x466b9d
mov eax, dword [0x536580]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468950
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417750]
call fcn.00404358
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417750]
call fcn.00404358
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417750]
call fcn.00404358
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 [0x424a30]
call fcn.0042cfd4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x466d54
mov eax, dword [0x536398]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d3a8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x469024
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x536398]
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.0040e788
test eax, eax
je 0x466ca4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a704
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e7bc
test eax, eax
je 0x466cb8
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.004054f8
mov byte [ebx + 0xd4], 0
push ebx
push 0x46826c
call fcn.00421250
mov dword [ebx + 0xc8], eax
mov eax, dword [0x536214]
cmp byte [eax], 0
jne 0x466d09
mov eax, ebx
call fcn.00466e98
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.004691fc
mov eax, ebx
call fcn.00469d60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466d49
call fcn.00404704
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467118
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4671b7
cmp dword [ebx + 0x94], 0
jne 0x4671b1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4670a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4671b1
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 0x467177
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4671b1
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.00419b50
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467186
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x53bcd4]
cmp dword [eax + 0x30], 0
je 0x46752d
test bl, bl
jne 0x46747e
cmp dword [esi + 0x9c], 0
jne 0x467473
mov eax, esi
call fcn.00469bdc
push eax
push 0x4672fc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x467444
mov eax, dword [0x53bcd4]
call fcn.0046a2bc
test al, al
je 0x467444
mov eax, dword [0x53bcf8]
call fcn.00406568
mov edi, eax
cmp edi, 0
jl 0x467444
push 0
mov eax, dword [0x53bcf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46742e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x467473
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419b50
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x467453
inc dword [esi + 0x9c]
jmp 0x46752d
cmp dword [esi + 0x9c], 0
jle 0x46752d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46752d
cmp dword [esi + 0x44], 0
je 0x4674d9
mov eax, dword [0x53bcd4]
call fcn.0046a2bc
test al, al
je 0x4674d9
mov eax, dword [0x53bcf8]
call fcn.00406568
mov edi, eax
cmp edi, 0
jl 0x4674d9
push 5
mov eax, dword [0x53bcf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4674c3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x467508
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419b50
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4674e8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x53bcf8
mov ecx, 1
mov edx, dword [0x4672dc]
call fcn.0040671c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x467fc0
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 0x46802a
mov eax, ebx
call fcn.0046a2bc
test al, al
jne 0x46802a
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.00405378
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x468017
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x468037
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052dc
jmp 0x468037
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052dc
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4693e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46944e
mov eax, esi
call fcn.00452ce0
test al, al
je 0x46944e
mov eax, dword [ebx + 0x84]
call fcn.00452930
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46944e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x469442
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452930
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044a880
jmp 0x46944e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046921c
pop esi
pop ebx
ret
Function at 0x46a8bc
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 [0x408348]
call fcn.00405e58
xor eax, eax
push ebp
push 0x46aa5d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b083c], 0
jne 0x46a917
mov ecx, dword [0x53622c]
mov dl, 1
mov eax, dword [0x408984]
call fcn.0040d900
call fcn.00404bfc
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403990
mov eax, ebx
call fcn.00405c10
mov dword [ebp - 0x24], eax
mov esi, 0x46aa6c
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.00406e00
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405c20
test eax, eax
jle 0x46aa00
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 0x46a9ec
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004054f8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46a992
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405510
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46a9a8
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405510
mov eax, dword [ebp - 0x54]
call fcn.00405718
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004054f8
mov eax, dword [ebp - 0x58]
call fcn.00405718
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46a9ee
xor eax, eax
test al, al
je 0x46a9f9
mov ebx, 0x15
jmp 0x46aa05
mov ebx, 0x10
jmp 0x46aa05
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 [0x4b083c]
call fcn.0046a73c
mov eax, dword [ebp - 4]
call fcn.0046a73c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aa64
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004052ac
lea eax, [ebp - 0xc]
mov edx, dword [0x408348]
call fcn.00405f28
ret