joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5244e0
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.0040f950
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.0051e284
test ebx, ebx
jne 0x524533
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00524360
mov ebx, eax
test ebx, ebx
je 0x524629
cmp esi, ebx
je 0x52455c
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x524571
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 0x5245a9
add eax, 0xffffff5f
sub eax, 2
jb 0x5245c1
dec eax
sub eax, 2
jb 0x5245d5
dec eax
sub eax, 2
jb 0x5245cb
jmp 0x5245df
add eax, 0xfffffdff
sub eax, 2
jb 0x5245c1
dec eax
sub eax, 2
jb 0x5245d5
dec eax
sub eax, 2
jb 0x5245cb
jmp 0x5245df
mov byte [esp + 0x120], 0
jmp 0x5245e7
mov byte [esp + 0x120], 2
jmp 0x5245e7
mov byte [esp + 0x120], 1
jmp 0x5245e7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.005c4998
mov esi, eax
call fcn.0051ace8
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0051fcd4
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x52462b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x54ba78
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004092c4
xor eax, eax
push ebp
push 0x54bbb5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x54bb88
xor edx, edx
push ebp
push 0x54bb81
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x54bac5
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x54bb56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x54bb45
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x54bb08
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00409d20
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.004068a8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54bb4c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x605a90]
mov dl, 1
mov eax, dword [0x41a424]
call fcn.004271e0
call fcn.004088e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54bbbc
lea eax, [ebp - 4]
call fcn.004091e0
ret

Function at 0x57784c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.005778fc
test eax, eax
je 0x577887
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.005778fc
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409368
jmp 0x577895
mov ecx, esi
mov edx, 0x5778b4
mov eax, ebx
call fcn.005777d4
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.004095c0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5b3d3c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.004091e0
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x5b3d8e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x5b3d87
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00409dc4
jmp 0x5b3d8e
mov eax, esi
call fcn.004091e0
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x5b95e4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b9743
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x605880], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4f57b8]
call fcn.004f6904
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5b9719
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004f69ec
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00409dc4
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5b975c
call fcn.00409f74
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004f6c78
test al, al
je 0x5b9703
lea ecx, [ebp - 4]
mov edx, 0x5b97d0
mov eax, dword [ebp - 0xc]
call fcn.004f7500
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00429aec
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5b9703
xor edx, edx
push ebp
push 0x5b96fc
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x5b97e8
mov eax, dword [ebp - 8]
push eax
call fcn.00411320
test eax, eax
je 0x5b96e5
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x5b96e5
call fcn.005b9570
test eax, eax
je 0x5b96d5
mov eax, dword [ebx + 0x50]
jmp 0x5b96d8
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x605880]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b9703
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b9720
mov eax, dword [ebp - 0xc]
call fcn.0040756c
ret

Function at 0x5b984c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x5b9893
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b9876
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b9887
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5b9893
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5c44a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5c44c5
test edi, 0x40000
je 0x5c44df
test bl, bl
jne 0x5c4560
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5c4560
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5c4512
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5c4527
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5c4536
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5c4547
cmp byte [esp + 2], 0
je 0x5c4560
cmp byte [esp + 2], 0
je 0x5c4558
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5c4560
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5c4808
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 0x5c482e
mov eax, esp
push eax
push 0x5c47d0
call sub.user32.dll_EnumWindows
jmp 0x5c4841
mov eax, esp
push eax
push 0x5c47b0
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 0x5c4904
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5c4954]
test bl, 4
je 0x5c4918
or si, 1
test bl, 8
je 0x5c4921
or si, 4
test bl, 1
je 0x5c492a
or si, 8
test bl, 2
je 0x5c4933
or si, 0x10
test bl, 0x10
je 0x5c493c
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5c494c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5c4958
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5c4994]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5c4973
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5c4983
or bx, 4
test esi, 0x20000000
je 0x5c498f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5cd75c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5cd76e
add esp, 0xfffffff0
call fcn.00407b70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c5080
mov eax, dword [0x605b44]
mov dword [eax + 4], ebx
mov dword [eax], 0x5cdc24
mov eax, dword [0x605b54]
mov dword [eax + 4], ebx
mov dword [eax], 0x5cdc30
mov eax, ebx
call fcn.005cdc3c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x48b098]
call fcn.0040753c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x48b098]
call fcn.0040753c
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x48b098]
call fcn.0040753c
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x48b098]
call fcn.0040753c
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x48b098]
call fcn.0040753c
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5c84a0
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4fb3fc]
call fcn.0050154c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4fb3fc]
call fcn.0050154c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4fb3fc]
call fcn.0050154c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4fb3fc]
call fcn.0050154c
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4fb3fc]
call fcn.0050154c
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005ce218
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ce048
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ce048
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ce048
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ce048
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5ce048
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5cd8ee
call fcn.00407bc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5cdde8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5cdf93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5cdf74
mov dl, 1
mov eax, dword [0x48e854]
call fcn.004b1e10
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.004091e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5cdf63
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.0052df54
test al, al
je 0x5cdf56
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5cdfa4
lea eax, [ebp - 0x394]
call fcn.0042270c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5cdf56
xor eax, eax
push ebp
push 0x5cdf4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5ce014
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5cdf38
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409dc4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5cdf38
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cdf56
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5cde59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004b1d60
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cdf9a
lea eax, [ebp - 0x3a0]
call fcn.004091e0
ret

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

Disassembly:
push ecx
mov eax, dword [0x60c730]
cmp byte [eax + 0xc5], 0
jne 0x5cebb2
cmp dword [0x60c754], 0
jne 0x5ceb72
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x605998]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x60c754], eax
cmp dword [0x60c750], 0
jne 0x5ceb8d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x60c750], eax
cmp dword [0x60c758], 0
jne 0x5cebb2
push esp
push 0
push 0
mov eax, dword [0x605994]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x60c758], eax
pop edx
ret
Function at 0x5cf11c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5cf133
add esp, 0xfffffff0
call fcn.00407b70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c5080
mov eax, dword [0x605a0c]
cmp byte [eax], 0
jne 0x5cf160
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x605d28]
cmp word [eax + 2], 0
jne 0x5cf17a
mov eax, dword [0x605d28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005d13b0
mov eax, dword [0x605e5c]
cmp word [eax + 2], 0
jne 0x5cf194
mov eax, dword [0x605e5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005d15b4
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4fb3fc]
call fcn.0050154c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5d1b2c
mov dl, 1
mov eax, dword [0x48b098]
call fcn.0040753c
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x48b098]
call fcn.0040753c
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4ffe24]
call fcn.0050ab34
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5cf37c
mov eax, dword [0x605be8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0050afc4
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5d1e14
mov dl, 1
mov eax, dword [0x48b098]
call fcn.0040753c
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x605be8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042250c
test eax, eax
je 0x5cf2ae
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00422348
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004224f0
test eax, eax
je 0x5cf2c6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409dc4
push ebx
push 0x5d0d94
call fcn.005c48e8
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x605a0c]
cmp byte [eax], 0
jne 0x5cf317
mov eax, ebx
call fcn.005cf560
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005d2048
mov eax, ebx
call fcn.005d2c90
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5cf374
call fcn.00407bc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cf8a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5cf946
cmp dword [ebx + 0xac], 0
jne 0x5cf940
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5cf7e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5cf940
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_GetWindowLongW
test al, 8
je 0x5cf906
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5cf940
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.004ad6d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5cf915
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x60c730]
cmp dword [eax + 0x188], 0
je 0x5cfcc9
test bl, bl
jne 0x5cfc17
cmp dword [esi + 0xb4], 0
jne 0x5cfc0c
mov eax, esi
call fcn.005d2ae0
push eax
push 0x5cfa70
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5cfbdd
mov eax, dword [0x60c730]
cmp byte [eax + 0xeb], 0
je 0x5cfbdd
mov eax, dword [esi + 0xf0]
call fcn.0040af84
mov edi, eax
cmp edi, 0
jl 0x5cfbdd
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5cfbc6
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cfc0c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004ad6d0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cfbec
inc dword [esi + 0xb4]
jmp 0x5cfcc9
cmp dword [esi + 0xb4], 0
jle 0x5cfcc9
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5cfcc9
cmp dword [esi + 0x58], 0
je 0x5cfc74
mov eax, dword [0x60c730]
cmp byte [eax + 0xeb], 0
je 0x5cfc74
mov eax, dword [esi + 0xf0]
call fcn.0040af84
mov edi, eax
cmp edi, 0
jl 0x5cfc74
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5cfc5d
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cfca3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004ad6d0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cfc83
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xf0]
mov ecx, 1
mov edx, dword [0x5c11ac]
call fcn.0040b198
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5d0924
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5d0981
cmp byte [ebx + 0xeb], 0
jne 0x5d0981
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409368
mov eax, dword [esi]
test eax, eax
je 0x5d096e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5d098e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.004095c0
jmp 0x5d098e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.004095c0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5d2228
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5d2299
mov eax, esi
call fcn.00527dd4
test al, al
je 0x5d2299
mov eax, dword [ebx + 0x98]
call fcn.00527a04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d2299
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x114]
test al, al
je 0x5d228a
push 0
mov eax, dword [ebx + 0x98]
call fcn.00527a04
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.0051e678
jmp 0x5d2299
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005d2068
pop esi
pop ebx
ret
Function at 0x40dbd9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x416008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40dc24
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040ddfa
test al, al
jne 0x40dc1e
sub edx, 2
cmp edx, edi
jne 0x40dc04
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40dc46
lea eax, [edi + 2]
cmp edx, eax
je 0x40dc46
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040db25
add esp, 0x10
jmp 0x40dd40
push esi
lea ecx, [ebp - 0x255]
call fcn.0040ddfa
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40dc89
push dword [ebp - 0x25c]
jmp 0x40dc36
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40dcc6
cmp word [ebp - 0x226], 0
je 0x40dce7
cmp word [ebp - 0x226], ax
jne 0x40dcc6
cmp word [ebp - 0x224], 0
je 0x40dce7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040db25
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40dd33
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40dca0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40dd1b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40dd40
push 0x40d955
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call 0x4108b0
add esp, 0x10
jmp 0x40dd10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407061
leave
ret

Function at 0x40e9d2
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
sbb byte [esi + 0x23], dh