joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab174
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 0x4ab195
test edi, 0x40000
je 0x4ab1af
test bl, bl
jne 0x4ab230
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4ab230
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 0x4ab1e2
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4ab1f7
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4ab206
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4ab217
cmp byte [esp + 2], 0
je 0x4ab230
cmp byte [esp + 2], 0
je 0x4ab228
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4ab230
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4ab4dc
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 0x4ab502
mov eax, esp
push eax
push 0x4ab4a4
call sub.user32.dll_EnumWindows
jmp 0x4ab515
mov eax, esp
push eax
push 0x4ab484
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 0x4ab5d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4ab628]
test bl, 4
je 0x4ab5ec
or si, 1
test bl, 8
je 0x4ab5f5
or si, 4
test bl, 1
je 0x4ab5fe
or si, 8
test bl, 2
je 0x4ab607
or si, 0x10
test bl, 0x10
je 0x4ab610
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4ab620
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4ab62c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4ab668]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4ab647
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4ab657
or bx, 4
test esi, 0x20000000
je 0x4ab663
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4b4160
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b4172
add esp, 0xfffffff0
call fcn.00405a04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00447604
mov eax, dword [0x4c7080]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b459c
mov eax, dword [0x4c708c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4b45a8
mov eax, ebx
call fcn.004b45b4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.004054bc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.004054bc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.004054bc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.004054bc
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.004054bc
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, 0x4aefd8
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x451a40]
call fcn.00456cd4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x451a40]
call fcn.00456cd4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x451a40]
call fcn.00456cd4
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x451a40]
call fcn.00456cd4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x451a40]
call fcn.00456cd4
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004b4b0c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b497c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b497c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b497c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b497c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b497c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b42e9
call fcn.00405a5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b471c
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 0x4b48c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b48a8
mov dl, 1
mov eax, dword [0x4326d8]
call fcn.0043ed88
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406ef4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b4897
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.00480268
test al, al
je 0x4b488a
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, 0x4b48d8
lea eax, [ebp - 0x394]
call fcn.0041cce4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b488a
xor eax, eax
push ebp
push 0x4b4883
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 0x4b4948
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b486c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004078f8
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 0x4b486c
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004078f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b488a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b478d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0043ecc4
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 0x4b48ce
lea eax, [ebp - 0x3a0]
call fcn.00406ef4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4cd254]
cmp byte [eax + 0xad], 0
jne 0x4b5496
cmp dword [0x4cd26c], 0
jne 0x4b5456
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4c6f04]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4cd26c], eax
cmp dword [0x4cd268], 0
jne 0x4b5471
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4cd268], eax
cmp dword [0x4cd270], 0
jne 0x4b5496
push esp
push 0
push 0
mov eax, dword [0x4c6f00]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4cd270], eax
pop edx
ret
Function at 0x4b57ac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b57c3
add esp, 0xfffffff0
call fcn.00405a04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00447604
mov eax, dword [0x4c6fb0]
cmp byte [eax], 0
jne 0x4b57f0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4c7210]
cmp word [eax + 2], 0
jne 0x4b580a
mov eax, dword [0x4c7210]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b7874
mov eax, dword [0x4c72e0]
cmp word [eax + 2], 0
jne 0x4b5824
mov eax, dword [0x4c72e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b7a78
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x451a40]
call fcn.00456cd4
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b7ff0
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.004054bc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.004054bc
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 [0x455338]
call fcn.0045db1c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b5a04
mov eax, dword [0x4c7100]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045dfb0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b82d8
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.004054bc
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4c7100]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041cb0c
test eax, eax
je 0x4b5935
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041c8c0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041caf0
test eax, eax
je 0x4b594d
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.004078f8
push ebx
push 0x4b7260
call fcn.004ab5bc
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4c6fb0]
cmp byte [eax], 0
jne 0x4b599e
mov eax, ebx
call fcn.004b5b78
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.004b8504
mov eax, ebx
call fcn.004b9134
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b59fb
call fcn.00405a5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b5e44
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4cd254]
cmp dword [eax + 0x170], 0
je 0x4b6269
test bl, bl
jne 0x4b61b7
cmp dword [esi + 0x9c], 0
jne 0x4b61ac
mov eax, esi
call fcn.004b8f84
push eax
push 0x4b6010
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b617d
mov eax, dword [0x4cd254]
cmp byte [eax + 0xd3], 0
je 0x4b617d
mov eax, dword [esi + 0xd8]
call fcn.004087d8
mov edi, eax
cmp edi, 0
jl 0x4b617d
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 0x4b6166
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b61ac
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043b268
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b618c
inc dword [esi + 0x9c]
jmp 0x4b6269
cmp dword [esi + 0x9c], 0
jle 0x4b6269
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b6269
cmp dword [esi + 0x44], 0
je 0x4b6214
mov eax, dword [0x4cd254]
cmp byte [eax + 0xd3], 0
je 0x4b6214
mov eax, dword [esi + 0xd8]
call fcn.004087d8
mov edi, eax
cmp edi, 0
jl 0x4b6214
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 0x4b61fd
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b6243
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043b268
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b6223
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 [0x4a9494]
call fcn.00408998
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b6eac
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 0x4b6f17
cmp byte [ebx + 0xd3], 0
jne 0x4b6f17
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.0040705c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b6f04
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b6f24
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004072b4
jmp 0x4b6f24
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004072b4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b86ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b875a
mov eax, esi
call fcn.0047a1a4
test al, al
je 0x4b875a
mov eax, dword [ebx + 0x84]
call fcn.00479df8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b875a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b874e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00479df8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00470d74
jmp 0x4b875a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b8524
pop esi
pop ebx
ret

Function at 0x4bc568
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
mov edi, edx
mov esi, eax
mov ebp, esp
push 0
push ebp
push 0x1000
lea eax, [esp + 0x14]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x4bc597
xor ebx, ebx
jmp 0x4bc5c6
cmp dword [ebp], 0
je 0x4bc5c4
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [ebp]
push eax
lea eax, [esp + 0x14]
push eax
push edi
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x4bc5c0
mov eax, dword [ebp]
cmp eax, dword [esp + 4]
je 0x4bc57c
xor ebx, ebx
jmp 0x4bc5c6
mov bl, 1
mov eax, ebx
add esp, 0x1008
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4be788
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 3
xor edx, edx
push ebp
push 0x4be7f6
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x28], 0x20
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x20]
shr eax, 0xa
shr eax, 0xa
cmp eax, 0x3e8
jae 0x4be7e9
cmp ebx, 5
jl 0x4be7e9
cmp eax, 0x1f4
jae 0x4be7e0
mov dword [ebp - 8], 3
jmp 0x4be7ec
mov dword [ebp - 8], 5
jmp 0x4be7ec
mov dword [ebp - 8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be829
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret
Function at 0x410d50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
jmp 0x410d6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410d71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410d60
mov eax, 1
add ebx, ebx
jne 0x410d83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410d78
jne 0x410d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410d78
xor ecx, ecx
sub eax, 3
jb 0x410da8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410e1a
mov ebp, eax
add ebx, ebx
jne 0x410db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x410dc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410de4
inc ecx
add ebx, ebx
jne 0x410dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x410dc5
jne 0x410de1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410dc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410e04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410df5
jmp 0x410d66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410e04
add edi, ecx
jmp 0x410d66
pop esi
mov edi, esi
mov ecx, 0xaf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410e22
cmp byte [edi], 1
jne 0x410e22
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 0x410e27
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x410e9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12330]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x123ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410e54
mov ecx, edi
jns 0x410e83
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 + 0x123f4]
or eax, eax
je 0x410e99
mov dword [ebx], eax
add ebx, 4
jmp 0x410e71
call dword [esi + 0x123f0]
mov ebp, dword [esi + 0x123f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x410ed3
sub esp, 0xffffff80
jmp 0x403956
Function at 0x4102b1
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov edx, 0x43188a31
xor ecx, ecx
mov ebx, 0x4102ec
cmp eax, 0x270f
jne 0x4102c8
sub byte [ebx], dl
inc ebx
shr edx, 8
inc ecx
cmp ecx, 4
jne 0x4102dc
mov edx, 0x43188a31
mov ecx, 0
cmp ebx, 0x4105ee
jb 0x4102bf
inc eax
cmp eax, 0x2715
jbe 0x4102b3
rcr dword [edx], 0xa8
cli
lodsd eax, dword [esi]
loope 0x41035a
cli
lodsd eax, dword [esi]
loope 0x41035e
cli
lodsd eax, dword [esi]
loope 0x410362
cli
lodsd eax, dword [esi]
loope 0x410366
cli
lodsd eax, dword [esi]
loope 0x41036a
cli
lodsd eax, dword [esi]
loope 0x41036e
cli
lodsd eax, dword [esi]
loope 0x410372
cli
lodsd eax, dword [esi]
loope 0x410376
cli
lodsd eax, dword [esi]
loope 0x41037a
cli
lodsd eax, dword [esi]
loope 0x41037e
cli
lodsd eax, dword [esi]
loope 0x410382
cli
cli
lodsd eax, dword [esi]
loope 0x410386
cli
lodsd eax, dword [esi]
loope 0x41038a
cli
lodsd eax, dword [esi]
loope 0x41038e
cli
lodsd eax, dword [esi]
loope 0x410392
cli
inc ebx
dec ecx
int 0x49
int 0x53
dec edi
push ebp
cdq
pushfd
iretd
nop
mov ebx, dword [eax]
mov eax, 0xced8bd14
sbb byte [eax - 0x312742ec], bh
fmul st(6)
xor eax, 0xf1767eae
jle 0x4103da
int1
pop ss
pop ss
inc edx
xor dword [edx - 0x5a0680], ecx
cmp cl, 0xa5
push dword [ebp - 0x55]
jne 0x41031b
push ebx
xchg ecx, eax
cld
mov ah, 0x99
or al, byte [edi]
pop es
cmp eax, dword [esi - 0xe]
inc esi
add al, 0x9b
add al, 0x9b
xchg esp, eax
pushal
mov dword [0x500b973f], eax
push eax
nop
mov edi, edi
sub ecx, esi
add esi, 0x9a313d99
cdq
cmp eax, 0x43189a31
test al, 0x92
sbb byte [ebx - 0x58], al
xchg edx, eax
jle 0x410358
insd dword es:[edi], dx
lcall 0x4345, 0x91a58868
xor dword [ebx - 0x25efd1e8], ecx
mov dword [0x1b0241b7], eax
xor esi, dword [eax + edx*2 - 0x252129d0]
lds edx, [ebx + 0x61bdade]
xor dword [edi], 0x151dce68
push ebx
pop esp
mov dword [0x4e1535b8], eax
inc esi
and al, 0xbd
fcom dword [ebx + 0x741f52f2]
xor eax, 0xf1c7c4ae
dec dword [0x570b889b]
inc edx
xor byte [edx - 0x3ac548e8], cl
pop ds
mov bh, 0x40
sbb byte [edi - 0x48e03ac6], dh
inc eax
or eax, 0x791c47df
ja 0x4103ae
jbe 0x410378
sbb al, 0x85
adc ebx, dword [edx + 3]
outsd dx, dword [esi]
add ch, byte [ebx - 0x70]
xor dword [ebp + 0x15fb46e3], ecx
and esp, eax
adc cl, byte [ecx + 0x15314317]
insd dword es:[edi], dx
dec edi
xor al, 0x5d
fldenv [ebx + esi]
invalid