joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582e28
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5f62dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x28]
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
call fcn.00404a5c
movzx ecx, word [ebp + 0x24]
mov bl, byte [ebp + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], ecx
nop dword [eax]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push 0xa
push esi
call edi
test eax, eax
jne 0x477b17
test bl, bl
je 0x477bbc
lea eax, [ebp - 0x30]
push eax
call fcn.0040992b
add esp, 4
test al, al
je 0x477bbc
mov ecx, dword [ebp - 0x30]
jmp 0x477ae0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x477bbc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x477bb5
movzx eax, word [esi]
mov ecx, 0xffff
cmp ax, cx
je 0x477bb5
mov di, word [ebp + 0x20]
mov ecx, eax
nop dword [eax]
add esi, 2
cmp cx, di
mov ecx, dword [ebp + 0x50]
je 0x477b82
mov dword [ebp - 0x34], esi
test ecx, ecx
je 0x477c7b
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
call dword [eax + 8]
add esi, eax
mov edx, 0xffff
movzx eax, word [esi]
mov ecx, eax
cmp ax, dx
jne 0x477b50
jmp 0x477bb5
mov dword [ebp - 0x2c], esi
test ecx, ecx
je 0x477c7b
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
call dword [eax + 8]
mov edi, eax
push 1
push edi
call fcn.0040767b
add esp, 8
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x477bb5
push edi
push esi
push eax
call fcn.00405407
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x477bf0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x477be6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477c80
push edx
push ecx
call fcn.004045c0
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x477c32
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x477c28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477c80
push edx
push ecx
call fcn.004045c0
add esp, 8
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
test ecx, ecx
je 0x477c5c
mov edx, dword [ecx]
lea eax, [ebp + 0x2c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403e8b
mov esp, ebp
pop ebp
ret
call fcn.00407d88
call fcn.00406866
int3
Function at 0x47df60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b05f
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5f62dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
xor eax, eax
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
call fcn.00407a1d
mov edi, dword [0x5f9564]
mov eax, dword [0x5f97e4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x47dfe6
push edi
lea ecx, [ebp - 0x14]
call fcn.00407a1d
cmp dword [0x5f9564], edi
jne 0x47dfd8
mov eax, dword [0x5f9e60]
inc eax
mov dword [0x5f9e60], eax
mov dword [0x5f9564], eax
lea ecx, [ebp - 0x14]
call fcn.004049c1
mov edi, dword [0x5f9564]
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [eax + 4]
cmp edi, dword [ecx + 0xc]
jae 0x47e00a
lfence
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
mov esi, dword [eax + edi*4]
test esi, esi
jne 0x47e0b5
jmp 0x47e00c
xor esi, esi
cmp byte [ecx + 0x14], 0
je 0x47e025
call fcn.00405358
cmp edi, dword [eax + 0xc]
jae 0x47e02d
lfence
mov eax, dword [eax + 8]
mov esi, dword [eax + edi*4]
test esi, esi
jne 0x47e0b5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47e038
mov esi, eax
jmp 0x47e0b5
push 8
call fcn.00405d4e
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x47e087
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x47e065
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x47e06a
lea eax, [ecx + 0x1c]
jmp 0x47e06a
mov eax, 0x59649a
push eax
lea ecx, [ebp - 0x54]
call fcn.00407022
mov eax, 1
mov dword [esi + 4], 0
mov dword [esi], vtable.std::codecvt_char__char__struct__Mbstatet_.0
jmp 0x47e08c
mov eax, dword [ebp - 0x1c]
xor esi, esi
test al, 1
je 0x47e098
lea ecx, [ebp - 0x54]
call fcn.00406db6
mov dword [ebp + 8], esi
push esi
mov byte [ebp - 4], 2
call fcn.0040977d
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 4]
mov dword [0x5f97e4], esi
lea ecx, [ebp - 0x20]
call fcn.004049c1
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x47e0e5
mov dword [ebx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x38], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp + 8]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404230
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x78]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x41200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov ecx, 0x4130f4
call fcn.00409670
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x404278
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x3d]
test ecx, ecx
jne 0x40427f
mov al, 1
jmp 0x404398
call fcn.00405610
mov esi, esp
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
call eax
cmp esi, esp
call fcn.00409640
mov dword [ebp - 0x124], eax
call fcn.00405610
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.00405650
add esp, 8
movzx eax, al
test eax, eax
je 0x4042d0
xor al, al
jmp 0x404398
mov dword [ebp - 0x18], 0x20
mov esi, esp
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0xc]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x38]
call dword [sym.imp.MSVCP140D.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
cmp esi, esp
call fcn.00409640
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x404322
cmp dword [ebp - 0x138], 1
je 0x404329
cmp dword [ebp - 0x138], 3
je 0x40438b
jmp 0x404396
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x3d], 0
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x40]
sub eax, ecx
mov dword [ebp - 0x58], eax
je 0x404362
mov esi, esp
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x58]
push edx
push 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.00409640
cmp dword [ebp - 0x58], eax
je 0x404362
xor al, al
jmp 0x404398
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x3d]
test ecx, ecx
jne 0x404379
mov dword [ebp - 0x138], 1
jmp 0x404383
mov dword [ebp - 0x138], 0
mov al, byte [ebp - 0x138]
jmp 0x404398
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x404398
xor al, al
push edx
mov ecx, ebp
push eax
lea edx, [0x4043c8]
call fcn.004095e0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004096b0
add esp, 0x138
cmp ebp, esp
call fcn.00409640
mov esp, ebp
pop ebp
ret
Function at 0x406e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x4130f4
call fcn.00409670
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x406e66
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
cmp esi, esp
call fcn.00409640
jmp 0x406f78
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov esi, esp
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
cmp esi, esp
call fcn.00409640
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp + 0x10], 0
jl 0x406f20
jg 0x406ea0
cmp dword [ebp + 0xc], 0
jbe 0x406f20
cmp dword [ebp - 0x24], 0
jl 0x406f20
jg 0x406eae
cmp dword [ebp - 0x28], 0
jbe 0x406f20
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x24]
jg 0x406ecc
jl 0x406ec0
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x28]
jae 0x406ecc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov esi, esp
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp esi, esp
call fcn.00409640
push eax
call fcn.00405460
add esp, 0xc
mov eax, dword [ebp - 0x28]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
sbb ecx, dword [ebp - 0x24]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp - 0x28]
mov esi, esp
push eax
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140D.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
cmp esi, esp
call fcn.00409640
cmp dword [ebp + 0x10], 0
jl 0x406f6c
jg 0x406f2e
cmp dword [ebp + 0xc], 0
jbe 0x406f6c
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x406f6c
mov esi, esp
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.00409640
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
sbb edx, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0xec
cmp ebp, esp
call fcn.00409640
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407830
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
lea edi, [ebp - 0x158]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x41200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x4131d2
call fcn.00409670
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4078de
mov dword [ebp - 0x148], 0x128
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4078de
lea ecx, [ebp + 8]
call fcn.00407620
mov esi, esp
push eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.ucrtbased.dll__stricmp]
add esp, 8
cmp esi, esp
call fcn.00409640
test eax, eax
jne 0x4078ca
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xc], eax
jmp 0x4078de
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x407899
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00409640
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x214], eax
lea ecx, [ebp + 8]
call fcn.00402900
mov eax, dword [ebp - 0x214]
push edx
mov ecx, ebp
push eax
lea edx, [0x407938]
call fcn.004095e0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004096b0
add esp, 0x218
cmp ebp, esp
call fcn.00409640
mov esp, ebp
pop ebp
ret
Function at 0x408800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea edi, [ebp - 0x84]
mov ecx, 0x21
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x41200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x4132d3
call fcn.00409670
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x13c], esp
mov eax, dword [ebp + 8]
push eax
call fcn.004083a0
call fcn.00407830
add esp, 0x1c
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x408870
mov eax, dword [ebp - 0xc]
jmp 0x4088fc
mov dword [ebp - 0x58], 0x44
push 0x40
push 0
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
push ecx
push str.C:Program_Files__x86_AssaultCube_
push 0
push 0
push 0
push 0
push 0
push 0
push str.C:Program_Files__x86_AssaultCube_assaultcube.bat
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp esi, esp
call fcn.00409640
test eax, eax
je 0x4088f5
mov esi, esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.00409640
mov esi, esp
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00409640
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00409640
jmp 0x4088f9
xor eax, eax
jmp 0x4088fc
mov eax, dword [ebp - 0x68]
push edx
mov ecx, ebp
push eax
lea edx, [0x40892c]
call fcn.004095e0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004096b0
add esp, 0x144
cmp ebp, esp
call fcn.00409640
mov esp, ebp
pop ebp
ret
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
add ebx, 0xbf
rcl ebx, 4
inc esi
sub esi, 0x92
or eax, 0x80
dec edi
rcl esi, 0xa1
imul esi
dec eax
imul edx
imul edx
inc eax
ror esi, 0x49
rcr ebx, 0x87
ror edx, 0xf0
inc edi
neg esi
dec edi
bswap esi
not edi
or edx, 0x6e
imul ebx
not edx
not eax
or ebx, 0x1b
inc ebx
add ebx, 0x7d
mov edx, 0xcd
rcl ebx, 0xe3
rcl esi, 0x63
bswap ebx
dec edi
sbb esi, 0x94
rcr esi, 0x57
sbb esi, 0x97
add edi, 0x2c
ror eax, 0xfb
not edi
ror esi, 0xb9
imul edx
not ebx
bswap edi
neg edx
mov edi, 8
add esi, 0x90
and esi, 0x3d
rol ebx, 0xe2
dec esi
inc ebx
bswap edx
xor ecx, ecx
xor edi, edi
inc ebx
and esi, 0x3a
inc edi
add eax, 0x6c
sub edx, 0xba
and esi, 0x5d
rcl esi, 0x98
neg edi
or ebx, 0xfc
neg esi
neg esi
not ebx
sub esi, 0x97
imul edx
rcr esi, 0x69
dec ebx
ror ebx, 0x35
or edx, 0x4d
add esi, 0x5a
sub ebx, 0xd4
bswap edi
not edx
rol esi, 0xb6
mov eax, 0x28
and ebx, 0x1e
ror edi, 0x8f
dec eax
or edi, 0xbb
dec edi
sbb edx, 0xdf
neg edi
bswap edi
sbb ebx, 0xfe
bswap esi
imul eax
not edi
sub eax, 0x6c
imul esi
sbb esi, 0x22
add ebx, 0xaf
rol edx, 0x6e
imul esi
mov edx, 0x58
neg edi
inc edx
rcl edx, 0x5c
mov eax, 0x35
mov esi, 0x3d
imul edi
inc ebx
mov ecx, dword [ebp + 0xc]
bswap edi
imul esi
imul eax
rcr edx, 0xb6
dec eax
sbb edx, 0xab
neg edx
sbb esi, 0x79
add ebx, 0x52
dec ebx
imul edx
rcr ebx, 0x7d
rol esi, 0xb7
rol esi, 0x44
neg edx
rol edx, 0x25
neg eax
bswap esi
imul edi
bswap edx
rol edi, 0x3c
neg edi
inc esi
not ebx
imul ebx
and ebx, 0xc7
and esi, 0x25
neg edx
and eax, 0x86
neg ebx
or eax, 0xfb
not edi
imul edx
rol edx, 0x16
neg esi
sbb eax, 0xae
rcl edi, 0xb5
add edx, 0x2b
and esi, 5
mov ebx, 0x5e
rcl esi, 0x7f
bswap edi
add edx, 0xeb
not esi
sbb ebx, 0x90
mov edi, 0x1e
not eax
mov edx, 0x69
rcr ebx, 0x84
ror esi, 0x8e
mov edi, dword [ebp + 8]
xor esi, ebx
xor ebx, ebx
mov eax, eax
not byte [edi]
mov esi, eax
mov ebx, ebx
xor ebx, esi
mov ebx, ebx
xor esi, eax
xor eax, eax
mov ebx, esi
mov eax, eax
mov esi, esi
add byte [edi], 0x79
mov esi, eax
xor esi, eax
mov ebx, eax
xor eax, esi
mov esi, eax
xor esi, ebx
xor esi, eax
xor eax, eax
mov esi, eax
sub byte [edi], 0x30
xor esi, esi
mov ebx, ebx
mov eax, eax
mov esi, eax
mov esi, eax
xor ebx, ebx
xor ebx, eax
mov ebx, eax
xor esi, ebx
imul byte [edi]
inc edi
loop 0x4013e8
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404f85
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432600]
jne 0x404f8f
repz ret
jmp fcn.00407320
Function at 0x4055f5
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.004043a5
and dword [ebp - 4], 0
cmp dword [0x433790], 0
mov ebx, eax
jne 0x4056a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405757
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405757
push eax
call fcn.00404333
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433790], eax
call esi
push eax
call fcn.00404333
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433794], eax
call esi
push eax
call fcn.00404333
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433798], eax
call esi
push eax
call fcn.00404333
pop ecx
mov dword [0x4337a0], eax
test eax, eax
je 0x4056a6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404333
pop ecx
mov dword [0x43379c], eax
mov eax, dword [0x43379c]
cmp eax, ebx
je 0x4056fe
cmp dword [0x4337a0], ebx
je 0x4056fe
push eax
call fcn.004043ae
push dword [0x4337a0]
mov esi, eax
call fcn.004043ae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056fe
test edi, edi
je 0x4056fe
call esi
test eax, eax
je 0x4056f5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056f5
test byte [ebp - 0xc], 1
jne 0x4056fe
or dword [ebp + 0x10], 0x200000
jmp 0x405737
mov eax, dword [0x433794]
cmp eax, ebx
je 0x405737
push eax
call fcn.004043ae
pop ecx
test eax, eax
je 0x405737
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405737
mov eax, dword [0x433798]
cmp eax, ebx
je 0x405737
push eax
call fcn.004043ae
pop ecx
test eax, eax
je 0x405737
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433790]
call fcn.004043ae
pop ecx
test eax, eax
je 0x405757
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405759
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421880
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x4218a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4218a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421898
mov eax, 1
add ebx, ebx
jne 0x4218bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4218b0
jne 0x4218cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218b0
xor ecx, ecx
sub eax, 3
jb 0x4218e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421952
mov ebp, eax
add ebx, ebx
jne 0x4218eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4218f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42191c
inc ecx
add ebx, ebx
jne 0x421908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4218fd
jne 0x421919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42193c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42192d
jmp 0x42189e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42193c
add edi, ecx
jmp 0x42189e
pop esi
mov edi, esi
mov ecx, 0x4a1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42195a
cmp byte [edi], 2
jne 0x42195a
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 0x42195f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4219d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21690]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2176c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42198c
mov ecx, edi
jns 0x4219bb
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 + 0x21770]
or eax, eax
je 0x4219d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4219a9
call dword [esi + 0x21778]
mov ebp, dword [esi + 0x21774]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x421a0b
sub esp, 0xffffff80
jmp 0x4077ae
Function at 0x406890
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47951b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404b6c
call fcn.004074f1
push 4
mov dword [esp + 0x18], 0
call fcn.004084e8
mov edi, eax
add esp, 4
test edi, edi
je 0x406904
push ebx
call fcn.004073c9
mov dword [edi], eax
call fcn.00407188
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004074b2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4068f8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004074da
pop ebx
jmp 0x406906
xor edi, edi
mov dword [esi + 0x38], 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
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 ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408f61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47d7a0]
jne 0x408f6b
repz ret
jmp fcn.0040da6c