joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a2ec4
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 0x5a3023
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x5f493c], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4f2fbc]
call fcn.004f467c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5a2ff9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004f4764
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00409f6c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5a303c
call fcn.0040a11c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004f49f0
test al, al
je 0x5a2fe3
lea ecx, [ebp - 4]
mov edx, 0x5a30b0
mov eax, dword [ebp - 0xc]
call fcn.004f5278
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042a2ec
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5a2fe3
xor edx, edx
push ebp
push 0x5a2fdc
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x5a30c8
mov eax, dword [ebp - 8]
push eax
call fcn.00411588
test eax, eax
je 0x5a2fc5
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x5a2fc5
call fcn.005a2e50
test eax, eax
je 0x5a2fb5
mov eax, dword [ebx + 0x50]
jmp 0x5a2fb8
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x5f493c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2fe3
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 0x5a3000
mov eax, dword [ebp - 0xc]
call fcn.00407714
ret

Function at 0x5a312c
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 0x5a3173
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a3156
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a3167
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5a3173
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5ada50
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5ada77
test edi, 0x40000
je 0x5ada91
test bl, bl
jne 0x5adb20
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5adb20
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 0x5adac4
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5adae0
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x5adaf6
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5adb07
cmp byte [esp + 2], 0
je 0x5adb20
cmp byte [esp + 2], 0
je 0x5adb18
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5adb20
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5addd0
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 0x5addf6
mov eax, esp
push eax
push 0x5add98
call sub.user32.dll_EnumWindows
jmp 0x5ade09
mov eax, esp
push eax
push 0x5add78
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 0x5adecc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5adf1c]
test bl, 4
je 0x5adee0
or si, 1
test bl, 8
je 0x5adee9
or si, 4
test bl, 1
je 0x5adef2
or si, 8
test bl, 2
je 0x5adefb
or si, 0x10
test bl, 0x10
je 0x5adf04
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5adf14
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5adf20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5adf5c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5adf3b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5adf4b
or bx, 4
test esi, 0x20000000
je 0x5adf57
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5b6cb0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5b6cc2
add esp, 0xfffffff0
call fcn.00407d18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c5154
mov eax, dword [0x5f5564]
mov dword [eax + 4], ebx
mov dword [eax], 0x5b7178
mov eax, dword [0x5f5574]
mov dword [eax + 4], ebx
mov dword [eax], 0x5b7184
mov eax, ebx
call fcn.005b7190
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x48b21c]
call fcn.004076e4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x48b21c]
call fcn.004076e4
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x48b21c]
call fcn.004076e4
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x48b21c]
call fcn.004076e4
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x48b21c]
call fcn.004076e4
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, 0x5b1a10
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4f9988]
call fcn.004ffad8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4f9988]
call fcn.004ffad8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4f9988]
call fcn.004ffad8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4f9988]
call fcn.004ffad8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4f9988]
call fcn.004ffad8
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005b7780
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b759c
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b759c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b759c
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b759c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b759c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b6e42
call fcn.00407d70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5b733c
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 0x5b74e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5b74c8
mov dl, 1
mov eax, dword [0x48e9d8]
call fcn.004b1f10
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409384
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5b74b7
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.0052cfac
test al, al
je 0x5b74aa
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, 0x5b74f8
lea eax, [ebp - 0x394]
call fcn.00422f18
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5b74aa
xor eax, eax
push ebp
push 0x5b74a3
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 0x5b7568
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5b748c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409f6c
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 0x5b748c
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409f6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b74aa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5b73ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004b1e4c
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 0x5b74ee
lea eax, [ebp - 0x3a0]
call fcn.00409384
ret

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

Disassembly:
push ecx
mov eax, dword [0x5fb31c]
cmp byte [eax + 0xc1], 0
jne 0x5b811a
cmp dword [0x5fb33c], 0
jne 0x5b80da
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5f4a54]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5fb33c], eax
cmp dword [0x5fb338], 0
jne 0x5b80f5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5fb338], eax
cmp dword [0x5fb340], 0
jne 0x5b811a
push esp
push 0
push 0
mov eax, dword [0x5f4a50]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5fb340], eax
pop edx
ret
Function at 0x5b8708
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5b871f
add esp, 0xfffffff0
call fcn.00407d18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c5154
mov eax, dword [0x5f541c]
cmp byte [eax], 0
jne 0x5b874c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x5f5760]
cmp word [eax + 2], 0
jne 0x5b8766
mov eax, dword [0x5f5760]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005baa20
mov eax, dword [0x5f589c]
cmp word [eax + 2], 0
jne 0x5b8780
mov eax, dword [0x5f589c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005bac24
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4f9988]
call fcn.004ffad8
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5bb19c
mov dl, 1
mov eax, dword [0x48b21c]
call fcn.004076e4
mov dword [ebx + 0xa4], eax
mov dl, 1
mov eax, dword [0x48b21c]
call fcn.004076e4
mov dword [ebx + 0xc4], 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 + 0xb9], 1
mov byte [ebx + 0xd0], 1
mov dl, 1
mov eax, dword [0x4fe3b0]
call fcn.00509248
mov esi, eax
mov dword [ebx + 0xb4], esi
push 0x5b8968
mov eax, dword [0x5f5614]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.005096d8
mov eax, dword [ebx + 0xb4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5bb484
mov dl, 1
mov eax, dword [0x48b21c]
call fcn.004076e4
mov dword [ebx + 0xac], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5f5614]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00422d2c
test eax, eax
je 0x5b889a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00422b68
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00422d10
test eax, eax
je 0x5b88b2
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 + 0xa0]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409f6c
push ebx
push 0x5ba3fc
call fcn.005adeb0
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe4], 0
mov eax, dword [0x5f541c]
cmp byte [eax], 0
jne 0x5b8903
mov eax, ebx
call fcn.005b8b30
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xe5], 0
mov byte [ebx + 0xf0], 0
xor eax, eax
mov dword [ebx + 0xe8], eax
mov byte [ebx + 0xe7], 0
xor eax, eax
mov dword [ebx + 0xbc], eax
mov eax, ebx
call fcn.005bb6cc
mov eax, ebx
call fcn.005bc324
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b8960
call fcn.00407d70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b8e70
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5b8f1c
cmp dword [ebx + 0xa8], 0
jne 0x5b8f16
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5b8da8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa4]
cmp dword [eax + 8], 0
je 0x5b8f16
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5b8edc
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa4]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5b8f16
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa4]
call fcn.004ad7f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5b8eeb
inc dword [ebx + 0xa8]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5fb31c]
cmp dword [eax + 0x188], 0
je 0x5b92a1
test bl, bl
jne 0x5b91ef
cmp dword [esi + 0xb0], 0
jne 0x5b91e4
mov eax, esi
call fcn.005bc174
push eax
push 0x5b9048
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5b91b5
mov eax, dword [0x5fb31c]
cmp byte [eax + 0xe7], 0
je 0x5b91b5
mov eax, dword [esi + 0xec]
call fcn.0040b134
mov edi, eax
cmp edi, 0
jl 0x5b91b5
push 0
mov eax, dword [esi + 0xec]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b919e
mov eax, dword [esi + 0xac]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b91e4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xac]
call fcn.004ad7f0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b91c4
inc dword [esi + 0xb0]
jmp 0x5b92a1
cmp dword [esi + 0xb0], 0
jle 0x5b92a1
dec dword [esi + 0xb0]
cmp dword [esi + 0xb0], 0
jne 0x5b92a1
cmp dword [esi + 0x58], 0
je 0x5b924c
mov eax, dword [0x5fb31c]
cmp byte [eax + 0xe7], 0
je 0x5b924c
mov eax, dword [esi + 0xec]
call fcn.0040b134
mov edi, eax
cmp edi, 0
jl 0x5b924c
push 5
mov eax, dword [esi + 0xec]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b9235
mov eax, dword [esi + 0xac]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b927b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xac]
call fcn.004ad7f0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b925b
mov eax, dword [esi + 0xac]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xec]
mov ecx, 1
mov edx, dword [0x5aa754]
call fcn.0040b348
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5b9efc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc0], 0
je 0x5b9f59
cmp byte [ebx + 0xe7], 0
jne 0x5b9f59
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.0040950c
mov eax, dword [esi]
test eax, eax
je 0x5b9f46
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5b9f66
mov eax, esi
mov edx, dword [ebx + 0xa0]
call fcn.00409764
jmp 0x5b9f66
mov eax, esi
mov edx, dword [ebx + 0xa0]
call fcn.00409764
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5bb8b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5bb929
mov eax, esi
call fcn.00526d70
test al, al
je 0x5bb929
mov eax, dword [ebx + 0x98]
call fcn.00526998
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5bb929
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5bb91a
push 0
mov eax, dword [ebx + 0x98]
call fcn.00526998
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.0051d66c
jmp 0x5bb929
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005bb6ec
pop esi
pop ebx
ret
Function at 0x5c2434
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5c24ae
mov eax, dword [ebx + 8]
call fcn.00526998
mov ecx, eax
mov dl, 1
mov eax, dword [0x534920]
call fcn.00520cc4
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0053ee54
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5c1d2c
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00526998
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00526998
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5c2524
mov eax, dword [ebx + 8]
call fcn.00526998
mov ecx, eax
mov dl, 1
mov eax, dword [0x534920]
call fcn.00520cc4
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0053ee54
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5c1d78
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00526998
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00526998
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5c2590
mov eax, dword [ebx + 8]
call fcn.00526998
mov ecx, eax
mov dl, 1
mov eax, dword [0x535390]
call fcn.00520cc4
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00526998
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00526998
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5c8990
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5c89be
mov eax, ebx
call fcn.005c944c
cmp dword [ebx + 0x40], 0
je 0x5c89b7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5c8a2f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5c8a21
cmp dword [ebx + 8], 0
je 0x5c89e0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5c89f2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5c8a21
cmp dword [ebx + 8], 0
je 0x5c89d3
cmp eax, 3
je 0x5c8a05
dec eax
jne 0x5c89d3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5c89d3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5c89d3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5c8a4d
cmp dword [ebx + 0x14], 0xcc
je 0x5c8a4d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005c8a58
pop ebx
ret

Function at 0x5de7a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5de913
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x5de8ee
push dword fs:[edx]
mov dword fs:[edx], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.00409ef0
lea eax, [ebp - 0x21c]
mov edx, 0x5de92c
call fcn.0040a0c4
mov eax, dword [ebp - 0x21c]
call fcn.00409ec8
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x5de85f
lea eax, [ebp - 0x216]
call fcn.00409868
lea edx, [ebp - 0x216]
mov ecx, ebx
xchg ecx, eax
call fcn.0040950c
jmp 0x5de866
mov eax, ebx
call fcn.00409384
cmp si, 0x61
jae 0x5de888
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.00428f6c
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.00409764
jmp 0x5de8a2
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.00428f58
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.00409764
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x5de940
call fcn.00422fe8
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.00409764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
Function at 0x5e4c38
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x5e4d1d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp edx, 0xffffffff
je 0x5e4cfa
cmp edx, 1
jne 0x5e4c81
mov edx, 0x5e4d38
mov eax, ebx
call fcn.005e4b54
dec eax
jne 0x5e4cfa
mov eax, dword [0x5f5868]
mov eax, dword [eax]
call fcn.005ba988
jmp 0x5e4cfa
cmp edx, 2
jne 0x5e4c95
mov edx, 0x5e4d60
mov eax, ebx
call fcn.005e4b54
dec eax
jmp 0x5e4cfa
cmp edx, 8
jne 0x5e4cfa
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x3b8]
call fcn.0051d750
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x5e4d84
call fcn.0040a11c
push 5
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x3b8]
call fcn.0051d750
mov eax, dword [ebp - 0xc]
call fcn.00409ec8
push eax
push 0
lea eax, [ebp - 4]
call fcn.00409904
push eax
push 0x5e4da0
mov eax, ebx
call fcn.00526998
push eax
call sub.shell32.dll_ShellExecuteW
mov eax, dword [0x5f5868]
mov eax, dword [eax]
call fcn.005ba988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e4d24
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004093e4
lea eax, [ebp - 4]
call fcn.00409384
ret