joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cd3e
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.00408f5d
and dword [ebp - 4], 0
cmp dword [0x45a9f4], 0
mov ebx, eax
jne 0x40cdef
push 0x401b04
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cea0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401af8
push edi
call esi
test eax, eax
je 0x40cea0
push eax
call fcn.00408eeb
mov dword [esp], 0x401ae8
push edi
mov dword [0x45a9f4], eax
call esi
push eax
call fcn.00408eeb
mov dword [esp], 0x401ad4
push edi
mov dword [0x45a9f8], eax
call esi
push eax
call fcn.00408eeb
mov dword [esp], 0x401ab8
push edi
mov dword [0x45a9fc], eax
call esi
push eax
call fcn.00408eeb
pop ecx
mov dword [0x45aa04], eax
test eax, eax
je 0x40cdef
push 0x401aa0
push edi
call esi
push eax
call fcn.00408eeb
pop ecx
mov dword [0x45aa00], eax
mov eax, dword [0x45aa00]
cmp eax, ebx
je 0x40ce47
cmp dword [0x45aa04], ebx
je 0x40ce47
push eax
call fcn.00408f66
push dword [0x45aa04]
mov esi, eax
call fcn.00408f66
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ce47
test edi, edi
je 0x40ce47
call esi
test eax, eax
je 0x40ce3e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ce3e
test byte [ebp - 0xc], 1
jne 0x40ce47
or dword [ebp + 0x10], 0x200000
jmp 0x40ce80
mov eax, dword [0x45a9f8]
cmp eax, ebx
je 0x40ce80
push eax
call fcn.00408f66
pop ecx
test eax, eax
je 0x40ce80
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ce80
mov eax, dword [0x45a9fc]
cmp eax, ebx
je 0x40ce80
push eax
call fcn.00408f66
pop ecx
test eax, eax
je 0x40ce80
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45a9f4]
call fcn.00408f66
pop ecx
test eax, eax
je 0x40cea0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cea2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b8c3
Capabilities:
Terminate process

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push dword [0x100453e8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x7530
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x100453e4]
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [0x100453e4]
mov edi, eax
mov ecx, edi
call fcn.1000b88a
push 0x104
push edi
push dword [0x100453ec]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [str.Newfts.exe]
mov ecx, esi
cmp word [edi], si
je 0x1000b931
inc ecx
cmp word [edi + ecx*2], si
jne 0x1000b92a
push 0x5c
pop edx
jmp 0x1000b93d
xor eax, eax
mov word [edi + ecx*2], ax
dec ecx
cmp word [edi + ecx*2 - 2], dx
jne 0x1000b936
movzx eax, word [ebx]
mov edx, esi
mov esi, eax
test ax, ax
je 0x1000b963
lea eax, [edi + ecx*2]
inc edx
mov word [eax], si
lea eax, [eax + 2]
movzx esi, word [ebx + edx*2]
test si, si
jne 0x1000b953
push 0x44
pop edx
lea ecx, [esp + 0x20]
call fcn.1000b88a
push 0x10
pop edx
lea ecx, [esp + 0x10]
call fcn.1000b88a
push dword [0x100453f4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
call esi
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call eax
push dword [0x100453e0]
push ebp
call esi
push 0xffffffffffffffff
push dword [esp + 0x14]
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1000be20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1000be2e
mov eax, dword [eax]
push esi
push edi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [ebp + 0xc]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000be6c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [edi], eax
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi], 0xffffffff
jne 0x1000be77
cmp dword [edi + 4], 0
je 0x1000be80
pop edi
mov eax, 1
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1000c3c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037f00
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100461d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor bl, bl
cmp dword [eax + 0x14], 8
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], 0
jb 0x1000c402
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x1000c49a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x1000c46e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000c441
cmp eax, esi
jae 0x1000c441
mov esi, eax
mov ebx, dword [ebp + 0x10]
push 0
push esi
mov ecx, ebx
call fcn.1000c360
mov eax, dword [ebx]
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push edi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000c46e
mov byte [ebp - 0x11], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d580
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037f5b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100461d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10025b9c
push 4
mov dword [ebp - 4], 0
call fcn.10026b4d
mov edi, eax
add esp, 4
test edi, edi
je 0x1000d600
call fcn.1002585a
mov dword [edi], eax
call fcn.10025619
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1002554e
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1000d5f6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10025576
jmp 0x1000d602
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013570
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038618
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100461d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov ebx, 8
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], ebx
jb 0x100135b7
mov eax, dword [edi]
jmp 0x100135b9
mov eax, edi
lea ecx, [ebp - 0x20]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x10013702
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.10010870
mov edx, dword [ebp - 0x34]
push esi
push 0
push edx
mov byte [ebp - 4], 1
call fcn.10027150
add esp, 0xc
cmp dword [edi + 0x14], ebx
jb 0x100135fb
mov edi, dword [edi]
mov ebx, dword [ebp - 0x34]
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100136f5
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0x1003a9a4
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100136f5
mov esi, dword [ebp - 0x18]
movzx eax, word [esi + 0xa]
mov dword [ebp - 0x1c], eax
mov dword [ebp + 8], 0
test ax, ax
je 0x10013659
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xb]
call fcn.100134a0
test al, al
je 0x100136f5
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [edi], ecx
movzx eax, word [esi + 8]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0
test ax, ax
je 0x10013688
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0xb]
call fcn.100134a0
test al, al
je 0x100136f5
mov ecx, dword [ebp + 8]
mov dword [edi + 4], ecx
movzx eax, word [esi + 0xe]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0
test ax, ax
je 0x100136b5
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0xb]
call fcn.100134a0
test al, al
je 0x100136f5
mov ecx, dword [ebp + 8]
mov dword [edi + 8], ecx
movzx eax, word [esi + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0
test ax, ax
je 0x100136e2
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0xb]
call fcn.100134a0
test al, al
je 0x100136f5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], ecx
mov dword [edx], 1
mov byte [ebp - 0x11], 1
test ebx, ebx
je 0x10013702
push ebx
call fcn.10026b18
add esp, 4
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10013cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, edx
je 0x10013d00
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x10013ce1
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
pop ebp
ret
Function at 0x10026ffe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100461d8]
jne 0x10027008
repz ret
jmp fcn.1002b3cc

Function at 0x10032292
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100461d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1002ae08
and dword [ebp - 0x14], 0
cmp dword [0x1004843c], 0
mov dword [ebp - 0x18], eax
jne 0x10032345
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100323ed
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100323ed
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1004843c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10048440], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10048444], eax
call edi
push eax
call esi
mov dword [0x1004844c], eax
test eax, eax
je 0x10032345
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10048448], eax
mov eax, dword [0x10048448]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1003239e
cmp dword [0x1004844c], ecx
je 0x1003239e
push eax
call esi
push dword [0x1004844c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1003239e
test ebx, ebx
je 0x1003239e
call edi
test eax, eax
je 0x10032395
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10032395
test byte [ebp - 8], 1
jne 0x1003239e
or dword [ebp + 0x10], 0x200000
jmp 0x100323d1
mov eax, dword [0x10048440]
cmp eax, dword [ebp - 0x18]
je 0x100323d1
push eax
call esi
test eax, eax
je 0x100323d1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100323d1
mov eax, dword [0x10048444]
cmp eax, dword [ebp - 0x18]
je 0x100323d1
push eax
call esi
test eax, eax
je 0x100323d1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1004843c]
call esi
test eax, eax
je 0x100323ed
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100323ef
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10026ffe
leave
ret

Function at 0x43b653
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
add eax, 0x790f33b7
mov eax, esi
or eax, esi
call fcn.0043b68b
push esi
mov eax, dword [esp]
add esp, 4
xor dword [ecx], ebx
or eax, eax
add eax, 0x649bb6dd
inc ecx
and eax, eax
sub eax, esi
cmp ecx, edi
jne fcn.0043b653
inc esi
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43b635
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
mov ebx, esi
add esi, 0x87649da4
call fcn.0043b65e
mov esi, 0xa3c5fcdd
xor dword [ecx], edx
inc ebx
inc ecx
mov ebx, ebx
cmp ecx, edi
jne fcn.0043b635
sub esi, esi
dec ebx
ret
Function at 0x4089a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov byte [ebp - 0xdd], 0x2c
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x2d
mov byte [ebp - 0x91], 9
mov byte [ebp - 0x1a], 0x21
mov byte [ebp - 0x19], 0x27
mov byte [ebp - 7], 0
mov byte [ebp - 0x112], 0x11
mov byte [ebp - 0x111], 0x16
mov byte [ebp - 0xbd], 0x1c
mov byte [ebp - 6], 0x26
mov byte [ebp - 0x245], 0x1d
mov byte [ebp - 0x1a9], 0x2a
mov byte [ebp - 0xe9], 0x24
mov byte [ebp - 0x19d], 0x17
mov byte [ebp - 5], 0x10
mov eax, 0x2f
mov word [ebp - 0x100], ax
mov ecx, 0x15
mov word [ebp - 0xdc], cx
mov edx, 0x30
mov word [ebp - 0xd8], dx
mov eax, 0x1c
mov word [ebp - 0xfc], ax
mov ecx, 0xf
mov word [ebp - 0x19c], cx
mov edx, 0x16
mov word [ebp - 0x190], dx
mov eax, 0x1e
mov word [ebp - 0xac], ax
mov ecx, 0x27
mov word [ebp - 0x90], cx
mov edx, 2
mov word [ebp - 0x1b4], dx
mov eax, 0x31
mov word [ebp - 0x18], ax
mov ecx, 0xb
mov word [ebp - 0x14], cx
mov edx, 0x2f
mov word [ebp - 0x110], dx
mov eax, 0x28
mov word [ebp - 0xd4], ax
mov ecx, 0x25
mov word [ebp - 0xbc], cx
mov edx, 0xa
mov word [ebp - 0x23c], dx
mov eax, 0x18
mov word [ebp - 0x238], ax
mov dword [ebp - 0x1a8], 0x1d
mov dword [ebp - 0x10c], 0x30
mov dword [ebp - 0x244], 0x11
mov dword [ebp - 0xe8], 0x14
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x198], 0x10
mov dword [ebp - 0x234], 1
mov dword [ebp - 0x9c], 8
mov dword [ebp - 0xf8], 0xd
mov dword [ebp - 4], 4
mov dword [ebp - 0xa8], 2
mov dword [ebp - 0xa4], 0x26
mov dword [ebp - 0xb8], 0x29
mov dword [ebp - 0x230], 0x31
mov dword [ebp - 0xd0], 0x28
mov dword [ebp - 0x8c], 0x1e
mov ecx, 0x2a
mov word [ebp - 0xcc], cx
mov edx, 9
mov word [ebp - 0x1a4], dx
mov eax, 4
mov word [ebp - 0xc8], ax
mov ecx, 0x24
mov word [ebp - 0xf4], cx
mov edx, 0x2c
mov word [ebp - 0x18c], dx
mov eax, 0x15
mov word [ebp - 0xf0], ax
mov ecx, 0xe
mov word [ebp - 0x188], cx
mov edx, 0x1b
mov word [ebp - 0xa0], dx
mov eax, 2
mov word [ebp - 0xc], ax
mov ecx, 0x2f
mov word [ebp - 0x22c], cx
mov edx, 0xb
mov word [ebp - 0xb4], dx
mov eax, 2
mov word [ebp - 0x228], ax
mov ecx, 0x30
mov word [ebp - 0x194], cx
mov edx, 0x16
mov word [ebp - 0x108], dx
mov eax, 0xc
mov word [ebp - 0x184], ax
mov ecx, 0x23
mov word [ebp - 0x224], cx
mov eax, dword [ebp - 0xb0]
mov esp, ebp
pop ebp
ret
Function at 0x40a604
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420b90]
jne 0x40a60e
repz ret
jmp fcn.0040c768

Function at 0x40f2d3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040d4f8
xor ebx, ebx
cmp dword [0x43f47c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40f3a8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40f313
xor eax, eax
jmp 0x40f46c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40f30c
push eax
call fcn.0040d495
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43f47c], eax
call esi
push eax
call fcn.0040d495
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43f480], eax
call esi
push eax
call fcn.0040d495
mov dword [0x43f484], eax
lea eax, [ebp - 8]
push eax
call fcn.0040c9e7
test eax, eax
pop ecx
pop ecx
je 0x40f376
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040be10
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40f3a8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040d495
cmp eax, ebx
pop ecx
mov dword [0x43f48c], eax
je 0x40f3a8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d495
pop ecx
mov dword [0x43f488], eax
mov eax, dword [0x43f488]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40f421
cmp dword [0x43f48c], esi
je 0x40f421
push eax
call fcn.0040d501
pop ecx
call eax
cmp eax, ebx
je 0x40f3ee
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43f48c]
call fcn.0040d501
pop ecx
call eax
test eax, eax
je 0x40f3ee
test byte [ebp - 0x18], 1
jne 0x40f421
lea eax, [ebp - 0xc]
push eax
call fcn.0040ca1e
test eax, eax
pop ecx
je 0x40f409
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040be10
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40f418
or dword [ebp + 0x10], 0x200000
jmp 0x40f452
or dword [ebp + 0x10], 0x40000
jmp 0x40f452
mov eax, dword [0x43f480]
cmp eax, esi
je 0x40f452
push eax
call fcn.0040d501
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40f452
mov eax, dword [0x43f484]
cmp eax, esi
je 0x40f452
push dword [ebp - 4]
push eax
call fcn.0040d501
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43f47c]
call fcn.0040d501
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
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 0x1003480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
popfd
xor eax, 0xb33f8feb
mov esp, 0x4990c701
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x2a7c124
Capabilities:
Encode data using xor

Disassembly:
jmp 0x2a7c12e
pushal
call 0x2a7c134
pop ebp
sub ebp, 0x10
sub ebp, 0x267c124
jmp 0x2a7c14a
mov eax, 0x267c124
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e7
mov edx, 0x26e2b965
xor byte [eax], dl
inc eax
dec ecx
jne 0x2a7c161
jmp 0x2a7c174
out dx, al
test al, 0xee
in al, dx
pop ecx
in al, 0xa4
popfd
test al, 0xdd
popal
fisttp word gs:[ebp + 0x65]
xchg edx, eax
xchg dword [esi - 0x53], esp
out dx, al
in al, 0x69
mov al, byte gs:[0xd90d3535]
retf