joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3ba0
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 0x4c3bc6
mov eax, esp
push eax
push 0x4c3b68
call sub.user32.dll_EnumWindows
jmp 0x4c3bd9
mov eax, esp
push eax
push 0x4c3b48
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 0x4c3c9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4c3cec]
test bl, 4
je 0x4c3cb0
or si, 1
test bl, 8
je 0x4c3cb9
or si, 4
test bl, 1
je 0x4c3cc2
or si, 8
test bl, 2
je 0x4c3ccb
or si, 0x10
test bl, 0x10
je 0x4c3cd4
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c3ce4
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4c3cf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4c3d2c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c3d0b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c3d1b
or bx, 4
test esi, 0x20000000
je 0x4c3d27
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4c3d80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.004c3d30
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x4cc910
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4cc922
add esp, 0xfffffff0
call fcn.004056ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00448b84
mov eax, dword [0x5b6e3c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ccd6c
mov eax, dword [0x5b6e50]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ccd78
mov eax, ebx
call fcn.004ccd84
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4301d8]
call fcn.00405188
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4301d8]
call fcn.00405188
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4301d8]
call fcn.00405188
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4301d8]
call fcn.00405188
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4301d8]
call fcn.00405188
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4c76b8
push eax
push 0
push 0
mov eax, dword [0x5b70e4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x453f44]
call fcn.0045a3bc
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x453f44]
call fcn.0045a3bc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x453f44]
call fcn.0045a3bc
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x453f44]
call fcn.0045a3bc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x453f44]
call fcn.0045a3bc
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004cd2dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd14c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd14c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd14c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd14c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd14c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4cca9d
call fcn.00405744
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4cceec
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 0x4cd099
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4cd07a
mov dl, 1
mov eax, dword [0x4332bc]
call fcn.00440070
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.004076d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4cd069
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.004aef54
test al, al
je 0x4cd05c
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, 0x4cd0a8
lea eax, [ebp - 0x394]
call fcn.0041544c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4cd05c
xor eax, eax
push ebp
push 0x4cd055
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 0x4cd118
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4cd03e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004078d8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4cd03e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004078d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd05c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4ccf5f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043ffac
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd0a0
lea eax, [ebp - 0x3a0]
call fcn.004076c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x5bd2c4]
cmp byte [eax + 0xad], 0
jne 0x4cdc6a
cmp dword [0x5bd2dc], 0
jne 0x4cdc2a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5b23b0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5bd2dc], eax
cmp dword [0x5bd2d8], 0
jne 0x4cdc45
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5bd2d8], eax
cmp dword [0x5bd2e0], 0
jne 0x4cdc6a
push esp
push 0
push 0
mov eax, dword [0x5b23ac]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5bd2e0], eax
pop edx
ret
Function at 0x4cdf90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4cdfa7
add esp, 0xfffffff0
call fcn.004056ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00448b84
mov eax, dword [0x5b6c94]
cmp byte [eax], 0
jne 0x4cdfd4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5b70b0]
cmp word [eax + 2], 0
jne 0x4cdfee
mov eax, dword [0x5b70b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004d0088
mov eax, dword [0x5b721c]
cmp word [eax + 2], 0
jne 0x4ce008
mov eax, dword [0x5b721c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004d0298
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x453f44]
call fcn.0045a3bc
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4d0848
mov dl, 1
mov eax, dword [0x4301d8]
call fcn.00405188
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4301d8]
call fcn.00405188
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 [0x458580]
call fcn.00463924
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ce1e8
mov eax, dword [0x5b6f04]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00463db8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4d0b30
mov dl, 1
mov eax, dword [0x4301d8]
call fcn.00405188
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5b6f04]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00415230
test eax, eax
je 0x4ce119
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00415014
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00415214
test eax, eax
je 0x4ce131
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004078d8
push ebx
push 0x4cfa58
call fcn.004c3c80
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x5b6c94]
cmp byte [eax], 0
jne 0x4ce182
mov eax, ebx
call fcn.004ce35c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004d0d5c
mov eax, ebx
call fcn.004d1990
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ce1df
call fcn.00405744
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ce630
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4ce6d2
cmp dword [ebx + 0x94], 0
jne 0x4ce6cc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ce57c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4ce6cc
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 0x4ce692
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ce6cc
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.0043bfdc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ce6a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5bd2c4]
cmp dword [eax + 0x170], 0
je 0x4cea55
test bl, bl
jne 0x4ce9a3
cmp dword [esi + 0x9c], 0
jne 0x4ce998
mov eax, esi
call fcn.004d17e0
push eax
push 0x4ce7fc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4ce969
mov eax, dword [0x5bd2c4]
cmp byte [eax + 0xd3], 0
je 0x4ce969
mov eax, dword [esi + 0xd8]
call fcn.004090b0
mov edi, eax
cmp edi, 0
jl 0x4ce969
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ce952
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ce998
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043bfdc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ce978
inc dword [esi + 0x9c]
jmp 0x4cea55
cmp dword [esi + 0x9c], 0
jle 0x4cea55
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4cea55
cmp dword [esi + 0x44], 0
je 0x4cea00
mov eax, dword [0x5bd2c4]
cmp byte [eax + 0xd3], 0
je 0x4cea00
mov eax, dword [esi + 0xd8]
call fcn.004090b0
mov edi, eax
cmp edi, 0
jl 0x4cea00
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ce9e9
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cea2f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043bfdc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4cea0f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4c1b58]
call fcn.00409270
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cf6a4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4cf70f
cmp byte [ebx + 0xd3], 0
jne 0x4cf70f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407814
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cf6fc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cf71c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004076d8
jmp 0x4cf71c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004076d8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4d0f44
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4d0fb2
mov eax, esi
call fcn.004a8ea8
test al, al
je 0x4d0fb2
mov eax, dword [ebx + 0x84]
call fcn.004a8afc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d0fb2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4d0fa6
push 0
mov eax, dword [ebx + 0x84]
call fcn.004a8afc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0049fad0
jmp 0x4d0fb2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004d0d7c
pop esi
pop ebx
ret
Function at 0x4e0b8c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e0bba
mov eax, ebx
call fcn.004e1640
cmp dword [ebx + 0x40], 0
je 0x4e0bb3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e0c2b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e0c1d
cmp dword [ebx + 8], 0
je 0x4e0bdc
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 0x4e0bee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e0c1d
cmp dword [ebx + 8], 0
je 0x4e0bcf
cmp eax, 3
je 0x4e0c01
dec eax
jne 0x4e0bcf
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 0x4e0bcf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e0bcf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e0c49
cmp dword [ebx + 0x14], 0xcc
je 0x4e0c49
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.004e0c54
pop ebx
ret
Function at 0x4f5374
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor edx, edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x21c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f5493
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.004076d8
call fcn.004f5354
cmp eax, 5
jge 0x4f545f
mov word [ebp - 0x14], 0
push 0xa
lea eax, [ebp - 0x14]
push eax
push 0x4f54a0
call sub.kernel32.dll_GetEnvironmentVariableW
mov word [ebp - 0x212], 0
push 0xff
lea eax, [ebp - 0x212]
push eax
push 0x4f54b4
call sub.kernel32.dll_GetEnvironmentVariableW
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x212]
mov ecx, 0xff
call fcn.004078d8
mov eax, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x14]
mov ecx, 0xa
call fcn.004078d8
mov edx, dword [ebp - 0x21c]
mov eax, ebx
pop ecx
call fcn.00407bac
mov eax, dword [ebx]
call fcn.00414bc4
test al, al
jne 0x4f5475
mov word [ebp - 0x212], 0
push 0xff
lea eax, [ebp - 0x212]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, ebx
lea edx, [ebp - 0x212]
mov ecx, 0xff
call fcn.004078d8
jmp 0x4f5475
mov ecx, 0x4f54d4
mov dl, 1
mov eax, dword [0x40eab0]
call fcn.00419fd8
call fcn.00405d54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f549a
lea eax, [ebp - 0x21c]
mov edx, 2
call fcn.004076d0
ret

Function at 0x4f5560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f564b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004076d8
call fcn.004f5354
cmp eax, 5
jl 0x4f561f
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x4f5635
xor eax, eax
push ebp
push 0x4f5609
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x216]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
je 0x4f55e0
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x216]
call fcn.0041536c
lea eax, [ebp - 4]
call fcn.0040a7f0
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x4f55ff
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f5635
mov ecx, 0x4f5668
mov dl, 1
mov eax, dword [0x40eab0]
call fcn.00419fd8
call fcn.00405d54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5652
lea eax, [ebp - 4]
call fcn.0040a7f0
ret
Function at 0x4f5afc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004076c0
xor eax, eax
push ebp
push 0x4f5c34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.004076d8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407764
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x4f5c11
mov eax, ebx
call fcn.00404560
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4f5c0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4f5c44
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
mov ebx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 8]
shr eax, 0x10
movzx eax, ax
call fcn.00414398
push dword [ebp - 0x14]
push 0x4f5c54
lea edx, [ebp - 0x18]
movzx eax, word [ebx + 8]
call fcn.00414398
push dword [ebp - 0x18]
push 0x4f5c54
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0xc]
shr eax, 0x10
movzx eax, ax
call fcn.00414398
push dword [ebp - 0x1c]
push 0x4f5c54
lea edx, [ebp - 0x20]
movzx eax, word [ebx + 0xc]
call fcn.00414398
push dword [ebp - 0x20]
mov eax, esi
mov edx, 7
call fcn.00407c90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5c11
mov eax, dword [ebp - 0xc]
call fcn.0040457c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5c3b
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004076d0
lea eax, [ebp - 4]
call fcn.004076c8
ret
Function at 0x55e960
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55ea8a
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x55ea4c
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404b7c
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.00407764
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x55ea07
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0x11
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x5b6dc0]
call fcn.0040ae0c
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x55d238]
call fcn.0055e4f4
call fcn.00405d54
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x6c], eax
movzx eax, word [ebp - 0x24]
mov dword [ebx + 0x68], eax
lea eax, [ebx + 0x60]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
sar edx, 1
jns 0x55ea24
adc edx, 0
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.00407eb8
lea eax, [ebx + 0x64]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
sar edx, 1
jns 0x55ea3f
adc edx, 0
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.00407eb8
jmp 0x55ea6a
xor eax, eax
mov dword [ebx + 0x68], eax
lea eax, [ebx + 0x60]
xor edx, edx
call fcn.004076d8
lea eax, [ebx + 0x64]
xor edx, edx
call fcn.004076d8
xor eax, eax
mov dword [ebx + 0x6c], eax
lea eax, [ebx + 0x40]
mov edx, esi
call fcn.004076d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55ea91
lea eax, [ebp - 0x48]
call fcn.004076c8
ret
Function at 0x55ece0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
test dl, dl
je 0x55ee0f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3d], 0
jne 0x55ee46
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x55ed0e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x55ed19
mov ebx, 3
jmp 0x55ed1b
xor ebx, ebx
push 0
call sub.wininet.dll_InternetAttemptConnect
test eax, eax
je 0x55ed2b
call fcn.00419fc4
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00407764
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.00407764
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.00407764
push eax
call sub.wininet.dll_InternetOpenW
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], esi
test esi, esi
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0055e6b4
xor eax, eax
push ebp
push 0x55edea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00407764
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00407764
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.00407764
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
push eax
call sub.wininet.dll_InternetConnectW
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x7c], ebx
test ebx, ebx
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0055e6b4
mov eax, dword [ebp - 4]
mov byte [eax + 0x3d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55ee46
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x55ee1f
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x55ee37
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x3d], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x59f220
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x59f241
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x59f241
xor eax, eax
ret
mov al, 1
ret