joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48dbb0
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.0040a3b4
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.00487be8
test ebx, ebx
jne 0x48dc03
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0048da2c
mov ebx, eax
test ebx, ebx
je 0x48dcf9
cmp esi, ebx
je 0x48dc2c
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 0x48dc41
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 0x48dc79
add eax, 0xffffff5f
sub eax, 2
jb 0x48dc91
dec eax
sub eax, 2
jb 0x48dca5
dec eax
sub eax, 2
jb 0x48dc9b
jmp 0x48dcaf
add eax, 0xfffffdff
sub eax, 2
jb 0x48dc91
dec eax
sub eax, 2
jb 0x48dca5
dec eax
sub eax, 2
jb 0x48dc9b
jmp 0x48dcaf
mov byte [esp + 0x120], 0
jmp 0x48dcb7
mov byte [esp + 0x120], 2
jmp 0x48dcb7
mov byte [esp + 0x120], 1
jmp 0x48dcb7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004abb78
mov esi, eax
call fcn.00484424
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.004895a8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x48dcfb
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4ab680
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 0x4ab6a1
test edi, 0x40000
je 0x4ab6bb
test bl, bl
jne 0x4ab73c
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4ab73c
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 0x4ab6ee
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4ab703
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4ab712
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4ab723
cmp byte [esp + 2], 0
je 0x4ab73c
cmp byte [esp + 2], 0
je 0x4ab734
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4ab73c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4ab9e8
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 0x4aba0e
mov eax, esp
push eax
push 0x4ab9b0
call sub.user32.dll_EnumWindows
jmp 0x4aba21
mov eax, esp
push eax
push 0x4ab990
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 0x4abae4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4abb34]
test bl, 4
je 0x4abaf8
or si, 1
test bl, 8
je 0x4abb01
or si, 4
test bl, 1
je 0x4abb0a
or si, 8
test bl, 2
je 0x4abb13
or si, 0x10
test bl, 0x10
je 0x4abb1c
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4abb2c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4abb38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4abb74]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4abb53
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4abb63
or bx, 4
test esi, 0x20000000
je 0x4abb6f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4b4738
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b474a
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043e9e4
mov eax, dword [0x4c21b8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b4b94
mov eax, dword [0x4c21c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b4ba0
mov eax, ebx
call fcn.004b4bac
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x427ee4]
call fcn.00404d78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x427ee4]
call fcn.00404d78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x427ee4]
call fcn.00404d78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x427ee4]
call fcn.00404d78
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x427ee4]
call fcn.00404d78
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, 0x4af4e0
push eax
push 0
push 0
mov eax, dword [0x4c2374]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x449350]
call fcn.0044f624
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x449350]
call fcn.0044f624
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x449350]
call fcn.0044f624
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x449350]
call fcn.0044f624
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x449350]
call fcn.0044f624
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004b5104
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b4f74
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b4f74
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b4f74
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b4f74
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b4f74
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b48c5
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b4d14
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 0x4b4ec1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b4ea2
mov dl, 1
mov eax, dword [0x42a5e4]
call fcn.0043645c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406878
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b4e91
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.0049743c
test al, al
je 0x4b4e84
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, 0x4b4ed0
lea eax, [ebp - 0x394]
call fcn.00413250
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b4e84
xor eax, eax
push ebp
push 0x4b4e7d
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 0x4b4f40
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b4e66
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a60
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 0x4b4e66
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4e84
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b4d87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00436398
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 0x4b4ec8
lea eax, [ebp - 0x3a0]
call fcn.00406868
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c82bc]
cmp byte [eax + 0xad], 0
jne 0x4b5a92
cmp dword [0x4c82d4], 0
jne 0x4b5a52
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4c2068]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4c82d4], eax
cmp dword [0x4c82d0], 0
jne 0x4b5a6d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4c82d0], eax
cmp dword [0x4c82d8], 0
jne 0x4b5a92
push esp
push 0
push 0
mov eax, dword [0x4c2064]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c82d8], eax
pop edx
ret
Function at 0x4b5db8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b5dcf
add esp, 0xfffffff0
call fcn.004052dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043e9e4
mov eax, dword [0x4c20d4]
cmp byte [eax], 0
jne 0x4b5dfc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4c234c]
cmp word [eax + 2], 0
jne 0x4b5e16
mov eax, dword [0x4c234c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b7eb0
mov eax, dword [0x4c2440]
cmp word [eax + 2], 0
jne 0x4b5e30
mov eax, dword [0x4c2440]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b80c0
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x449350]
call fcn.0044f624
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b8670
mov dl, 1
mov eax, dword [0x427ee4]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x427ee4]
call fcn.00404d78
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 [0x44d7e8]
call fcn.00458a94
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b6010
mov eax, dword [0x4c2238]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00458f28
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b8958
mov dl, 1
mov eax, dword [0x427ee4]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4c2238]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041309c
test eax, eax
je 0x4b5f41
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00412e80
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00413080
test eax, eax
je 0x4b5f59
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.00406a60
push ebx
push 0x4b7880
call fcn.004abac8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4c20d4]
cmp byte [eax], 0
jne 0x4b5faa
mov eax, ebx
call fcn.004b6184
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.004b8b84
mov eax, ebx
call fcn.004b97b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b6007
call fcn.00405334
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6458
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b64fa
cmp dword [ebx + 0x94], 0
jne 0x4b64f4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b63a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b64f4
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 0x4b64ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b64f4
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.00432df0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b64c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c82bc]
cmp dword [eax + 0x170], 0
je 0x4b687d
test bl, bl
jne 0x4b67cb
cmp dword [esi + 0x9c], 0
jne 0x4b67c0
mov eax, esi
call fcn.004b9608
push eax
push 0x4b6624
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b6791
mov eax, dword [0x4c82bc]
cmp byte [eax + 0xd3], 0
je 0x4b6791
mov eax, dword [esi + 0xd8]
call fcn.00407e84
mov edi, eax
cmp edi, 0
jl 0x4b6791
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 0x4b677a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b67c0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00432df0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b67a0
inc dword [esi + 0x9c]
jmp 0x4b687d
cmp dword [esi + 0x9c], 0
jle 0x4b687d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b687d
cmp dword [esi + 0x44], 0
je 0x4b6828
mov eax, dword [0x4c82bc]
cmp byte [eax + 0xd3], 0
je 0x4b6828
mov eax, dword [esi + 0xd8]
call fcn.00407e84
mov edi, eax
cmp edi, 0
jl 0x4b6828
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 0x4b6811
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b6857
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00432df0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b6837
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 [0x4a99a0]
call fcn.00408044
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b74cc
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 0x4b7537
cmp byte [ebx + 0xd3], 0
jne 0x4b7537
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.004069b4
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b7524
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b7544
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406878
jmp 0x4b7544
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406878
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b8d6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b8dda
mov eax, esi
call fcn.004913b0
test al, al
je 0x4b8dda
mov eax, dword [ebx + 0x84]
call fcn.00491004
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b8dda
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b8dce
push 0
mov eax, dword [ebx + 0x84]
call fcn.00491004
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00487fd8
jmp 0x4b8dda
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b8ba4
pop esi
pop ebx
ret
Function at 0x418010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [0x637b8c]
push ebx
push esi
push edi
mov esi, 0x190
push eax
mov edi, esi
call dword [sym.imp.ole32.dll_RevokeDragDrop]
mov ecx, dword [0x634038]
mov ebx, dword [0x63403c]
mov dword [esp + 0x24], 0
lea eax, [esp + 0x14]
lea edx, [ecx + ecx]
push eax
or edx, ebx
push 0x20019
mov dword [esp + 0x28], edx
push 0
fild qword [esp + 0x2c]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
fadd qword [0x634050]
fstp qword [0x634050]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4180f0
push ebp
mov ebp, 4
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call sub.comdlg32.dll_FindTextA
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Width
push ecx
call ebx
test eax, eax
jne 0x4180b7
mov edi, dword [esp + 0x1c]
xor esi, esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.Browse_For_Folder_Height
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call ebx
test eax, eax
pop ebp
jne 0x4180e5
or esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x62ad59
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x634440
cmp edx, dword [eax]
je 0x62ad7b
add eax, 8
inc ecx
cmp eax, 0x6344d0
jl 0x62ad6c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x634440]
jne 0x62aea9
mov eax, dword [0x638dd0]
cmp eax, 1
je 0x62ae83
test eax, eax
jne 0x62adac
cmp dword [0x63436c], 1
je 0x62ae83
cmp edx, 0xfc
je 0x62aea9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62ade3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062b740
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062bbd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62ae26
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062bbd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x630a4c
push edi
call fcn.0062daa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062b740
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062b750
lea eax, [ebp - 0xa0]
push 0x630a2c
push eax
call fcn.0062b750
push dword [esi + 0x634444]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062b750
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062da14
add esp, 0x2c
pop edi
jmp 0x62aea9
lea eax, [ebp + 8]
lea esi, [esi + 0x634444]
push 0
push eax
push dword [esi]
call fcn.0062bbd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x438cb7
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
sub edi, edi
sub eax, edi
call fcn.00438cf4
add edi, 0xdc7b02c7
sub edi, 0xa021cc34
xor dword [edx], esi
push 0x9cb0bd9e
pop edi
add edi, eax
push eax
pop edi
inc edx
add eax, edi
push eax
pop eax
cmp edx, ebx
jne fcn.00438cb7
sub eax, 0x1291902f
inc eax
and edi, edi
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x10b8370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10b838e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x10e1074
push ecx
mov edi, eax
call fcn.010cc198
mov esi, eax
add esp, 8
test esi, esi
jne 0x10b83cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.010cc02e
push esi
call fcn.010cbfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret