joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4040e6
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
lea ebp, [esi + 0x10]
mov edi, dword [ebp]
mov ebx, edi
xor ebx, dword [esp + 0x1c]
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x10], ebp
jb 0x40410b
mov esi, dword [esi]
mov dword [esp + 0x18], esi
push esi
shr edi, 2
push edi
push str._x_and__p
call fcn.004043ba
add esp, 0xc
test edi, edi
je 0x404166
mov ebp, esi
mov esi, edi
push 4
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00406ab0
imul ecx, dword [esp + 0x28], 0x5bd1e991
add esp, 0xc
imul ebx, ebx, 0x5bd1e991
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov dword [esp + 0x1c], eax
sub esi, 1
jne 0x404125
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x40418f
sub eax, 1
je 0x404185
sub eax, 1
jne 0x40419d
movsx ecx, byte [esi + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop ecx
ret

Function at 0x4041c3
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipCursor]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x42bea0], eax
pop edi
pop esi
ret

Function at 0x4066de
Capabilities:
Parse pe header

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

Function at 0x40d09a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bd28
push 0x41bd20
push str.FlsAlloc
push 0x1e
call fcn.0040cf5b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d0ce
push dword [ebp + 8]
mov ecx, esi
call dword [0x419184]
call esi
jmp 0x40d0d4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d118
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bd38
push 0x41bd30
push str.FlsGetValue
push 0x20
call fcn.0040cf5b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d14f
push dword [ebp + 8]
mov ecx, esi
call dword [0x419184]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x410286
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x410323
push ebx
push esi
call fcn.0041024f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00410198
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4102d0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x410322
push edi
push eax
call fcn.0040d84d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4102f0
call fcn.0040cdee
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x410321
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00410198
add esp, 0x20
test eax, eax
jne 0x41030f
push edi
call fcn.0040cdee
jmp 0x410317
push ebx
call fcn.0040cdee
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x417bd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x417bfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x417bfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x55952b82
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x4a74152a
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x73dd5a0d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1ab76c7
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40ce90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x458ab0]
jge 0x40cea6
jmp 0x40d0c3
cmp dword [ebp + 0xc], 0
jge 0x40ceb5
mov dword [ebp - 4], 0
jmp 0x40cecd
mov ecx, dword [ebp + 0xc]
and ecx, 0xffffff00
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
and edx, 0xff
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 0
je 0x40cf29
mov eax, dword [0x458ab8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40ceed
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x40cf29
mov edx, dword [ebp - 4]
and edx, 0x800
je 0x40cf12
mov eax, dword [ebp - 8]
push eax
push str.Usage:__s
mov ecx, dword [0x453ed0]
push ecx
call fcn.004220d0
add esp, 0xc
jmp 0x40cf29
mov edx, dword [ebp - 8]
push edx
push str._s:
mov eax, dword [0x453ed0]
push eax
call fcn.004220d0
add esp, 0xc
mov ecx, dword [ebp - 4]
and ecx, 0x800
je 0x40cf39
jmp 0x40d041
cmp dword [ebp + 0xc], 0
jge 0x40cf8e
mov dword [ebp - 0xc], 0
jmp 0x40cf51
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x458aa4]
jge 0x40cf72
push 0x450e6c
mov ecx, dword [0x453ed0]
push ecx
call fcn.004220d0
add esp, 8
jmp 0x40cf48
mov edx, dword [ebp + 0xc]
push edx
push str.debug_d:
mov eax, dword [0x453ed0]
push eax
call fcn.004220d0
add esp, 0xc
jmp 0x40d041
cmp dword [ebp + 0xc], 0
je 0x40d041
cmp dword [ebp + 0xc], 1
jne 0x40cfc3
push str.warning:
mov ecx, dword [0x453ed0]
push ecx
call fcn.004220d0
add esp, 8
mov edx, dword [0x458aac]
add edx, 1
mov dword [0x458aac], edx
jmp 0x40cfed
mov eax, dword [0x458aa0]
add eax, 1
mov dword [0x458aa0], eax
cmp dword [ebp + 0xc], 0xff
jne 0x40cfed
push str.panic:
mov ecx, dword [0x453ed0]
push ecx
call fcn.004220d0
add esp, 8
cmp dword [0x458aa8], 0
je 0x40d041
cmp dword [0x458ab4], 0
je 0x40d027
mov edx, dword [0x458ab4]
movsx eax, byte [edx]
test eax, eax
je 0x40d027
mov ecx, dword [0x458ab4]
push ecx
push 0x450e90
mov edx, dword [0x453ed0]
push edx
call fcn.004220d0
add esp, 0xc
mov eax, dword [0x458aa8]
push eax
push str.line__d:
mov ecx, dword [0x453ed0]
push ecx
call fcn.004220d0
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 4
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x453ed0]
push ecx
call fcn.00425140
add esp, 0xc
mov edx, dword [ebp - 4]
and edx, 0x100
je 0x40d09c
call dword [sym.imp.MSVCR90.dll__errno]
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR90.dll_strerror]
add esp, 4
push eax
push 0x450ea4
mov ecx, dword [0x453ed0]
push ecx
call fcn.004220d0
add esp, 0xc
push 0x450ea8
mov edx, dword [0x453ed0]
push edx
call fcn.004220d0
add esp, 8
cmp dword [ebp + 0xc], 3
jl 0x40d0c3
mov eax, dword [ebp + 0xc]
sub eax, 2
push eax
call dword [sym.imp.MSVCR90.dll_exit]
mov esp, ebp
pop ebp
ret
Function at 0x41b6a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4544f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x458b20]
mov ecx, dword [eax + 0x64]
cmp dword [ecx + 0x30], 0
je 0x41b7de
mov edx, dword [0x458b20]
cmp dword [edx + 0x2e0], 0
jne 0x41b7de
push 6
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
call fcn.004228d0
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41b7de
mov eax, dword [0x458b20]
mov dword [eax + 0x2e0], 1
push 0x40
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [0x458b20]
push edx
call fcn.0041f550
add esp, 0xc
push 0xffffffffffffffff
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00422f00
add esp, 0xc
push 0xffffffffffffffff
push 0x452954
mov edx, dword [ebp - 4]
push edx
call fcn.00422f00
add esp, 0xc
lea eax, [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00425140
add esp, 0xc
mov dword [ebp - 0x54], 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401050
add esp, 8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dword [edx], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41b78c
mov dword [ebp - 8], 0x45295c
mov ecx, dword [ebp - 8]
push ecx
push 0x45296c
mov edx, dword [0x458b20]
mov eax, dword [edx + 0x64]
mov ecx, dword [eax + 4]
and ecx, 4
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 2
push ecx
mov edx, dword [0x458b20]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [0x458b20]
push ecx
mov edx, dword [0x458b20]
mov eax, dword [edx + 0x64]
mov ecx, dword [eax + 0x30]
call ecx
add esp, 0x14
mov edx, dword [ebp - 4]
push edx
call fcn.00421290
add esp, 4
jmp 0x41b7f6
mov eax, dword [0x458b20]
mov ecx, dword [eax + 0x64]
mov edx, dword [ecx + 4]
and edx, 4
je 0x41b7f6
push 1
call dword [sym.imp.MSVCR90.dll_exit]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043618e
mov esp, ebp
pop ebp
ret
Function at 0x43618e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4544f0]
jne 0x436198
repz ret
jmp fcn.0043697e
Function at 0x4381d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.PATH
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4381f5
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x438213
mov edx, dword [0x458a6c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x438213
mov dword [ebp - 4], str._bin:_usr_bin:_usr_local_bin
mov eax, dword [ebp - 4]
mov dword [0x458a6c], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42fd90
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test dx, dx
je 0x42fde0
lea eax, [edx - 1]
mov edx, 0xffffffff
movzx eax, ax
lea esi, [ecx + eax + 1]
mov eax, 0xffffffff
add ecx, 1
xor dl, byte [ecx - 1]
movzx ebx, dl
xor al, byte [ebx + 0x496640]
cmp ecx, esi
mov edx, eax
movzx eax, byte [ebx + 0x496540]
jne 0x42fdb3
mov ecx, eax
movzx eax, dl
shl ecx, 8
or eax, ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
pop ebx
pop esi
ret
Function at 0x417c10
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x632042]
mov cl, byte [0x632049]
mov edx, dword [0x63203c]
xor cl, al
mov eax, dword [0x632048]
and edx, 0xc
and eax, 0xff
sub esp, 0x14
imul edx, eax
mov eax, dword [0x632038]
mov byte [0x632049], cl
mov ecx, dword [0x632034]
push ebx
mov ebx, dword [0x632030]
and ecx, 4
add ebx, ecx
xor eax, edx
push esi
mov dword [0x632030], ebx
mov dword [0x632038], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x635c6c
mov esi, eax
call fcn.00627da0
add esp, 4
test eax, eax
je 0x417c82
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x632030]
mov eax, dword [0x632034]
mov dword [esp + 0x18], 0
mov ebx, 1
lea edx, [ecx + ecx]
mov dword [esp + 8], 0
or edx, eax
lea eax, [esp + 8]
mov dword [esp + 0x14], edx
push eax
fild qword [esp + 0x18]
push ebx
push 0
push str.CLSIDa893aa73_054f_4dbc_9e53_f4ee5fe07fd3InProcServer32
push SysReAllocStringLen
fadd qword [0x632058]
fstp qword [0x632058]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [0x63af8c], eax
jne 0x417d4b
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push 0x635c6c
push edx
push eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 0x208
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0x63af8c], eax
jne 0x417d13
cmp dword [esp + 0xc], ebx
je 0x417d15
xor bl, bl
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x417d2c
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [0x63af8c]
test eax, eax
jne 0x417d4b
test esi, esi
jle 0x417d45
and esi, 0xffff
or esi, 0x80070000
mov dword [0x63af8c], esi
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x14
ret
Function at 0x62918d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632418
cmp edx, dword [eax]
je 0x6291af
add eax, 8
inc ecx
cmp eax, 0x6324a8
jl 0x6291a0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632418]
jne 0x6292dd
mov eax, dword [0x63afa4]
cmp eax, 1
je 0x6292b7
test eax, eax
jne 0x6291e0
cmp dword [0x632340], 1
je 0x6292b7
cmp edx, 0xfc
je 0x6292dd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629217
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629b70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a000
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62925a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a000
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62ec24
push edi
call fcn.0062bed0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629b70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629b80
lea eax, [ebp - 0xa0]
push 0x62ec04
push eax
call fcn.00629b80
push dword [esi + 0x63241c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629b80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062be44
add esp, 0x2c
pop edi
jmp 0x6292dd
lea eax, [ebp + 8]
lea esi, [esi + 0x63241c]
push 0
push eax
push dword [esi]
call fcn.0062a000
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x46ee4fee
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6a6a5e85
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40240a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x405078]
jne 0x402414
repz ret
jmp fcn.004028f1

Function at 0x4026c0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x401ce2
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x401cd8
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x401ce4
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x401cc8
xor eax, eax
pop edi
pop esi
pop ebx
ret
jmp 0x401ca6
Function at 0x40841b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, 0
xor dword [ebp - 0xc], 0xff00ff
lea eax, [ebp - 4]
test eax, eax
jae 0x408447
mov edx, 0xc8
sub edx, edx
cmp edx, 0x83
jae 0x408449
mov dx, 0x40
xor edx, edx
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edx, edi
mov eax, 0x38
lea edi, [esp]
lea edi, [ebp]
mov cx, 4
mov ecx, 0x71
lea edx, [esp]
mov edx, dword [esp]
xor dword [ebp - 0xc], 0x99999999
add dword [ebp - 0xc], 0xaaaa
mov eax, edi
lea edi, [esp]
lea ecx, [ebp - 4]
sub edi, edi
mov edx, dword [ebp]
lea edx, [ebp - 0xc]
xor dword [ebp - 0xc], 0x220022
mov dword [ebp - 8], eax
mov edi, ecx
add dword [ebp - 8], 0xeeeeee
mov dword [ebp - 4], eax
sub esi, esi
mov ecx, dword [ebp - 0xc]
or dword [ebp - 0xc], 0x33003333
sub eax, eax
mov dword [ebp - 4], ecx
xor dword [ebp - 0xc], 0x777777
or dword [ebp - 4], 0xcc00cccc
lea edx, [ebp]
sub esi, esi
mov dword [ebp - 4], edx
sub esi, esi
sub dword [ebp - 8], 0xcccc
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esp]
mov esi, dword [ebp - 8]
mov eax, dword [ebp]
mov eax, dword [esp]
mov dword [ebp - 8], ecx
mov edi, dword [ebp]
lea edx, [ebp]
mov esi, edi
sub dword [ebp - 4], 0x88888888
mov edi, dword [esp]
sub dword [ebp - 0xc], 0x999999
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], esi
and dword [ebp - 0xc], 0x55
mov cx, 0x40
mov eax, dword [esp]
add dword [ebp - 8], 0xeeee
xor edi, edi
mov dword [ebp - 4], 8
mov ecx, dword [ebp]
and dword [ebp - 8], 0xbbbb00bb
mov dword [ebp - 8], edi
lea edx, [ebp - 8]
mov dx, 0x80
lea esi, [esp]
mov ax, 0x71
mov edi, dword [ebp]
or dword [ebp - 4], 0xcc
mov edi, dword [esp]
mov edx, dword [ebp - 4]
call fcn.004045f5
push 2
push 0x2000
push 0xe00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea edx, [ebp - 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0xc]
lea edi, [ebp]
lea edx, [ebp - 0xc]
mov edi, 1
mov dword [ebp - 4], esi
lea edx, [ebp - 4]
add dword [ebp - 8], 0xcccc
lea esi, [esp]
mov dword [ebp - 4], 0x30
mov eax, dword [ebp - 0xc]
lea edi, [ebp - 4]
mov eax, 0xc8
mov edx, 0x57
mov edi, eax
or dword [ebp - 4], 0x770077
xor esi, esi
add dword [ebp - 8], 0x999999
or dword [ebp - 4], 0x330033
mov dword [ebp - 8], esi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 8], 0x20
and dword [ebp - 4], 0x22222222
lea ecx, [ebp]
and dword [ebp - 4], 0x22002222
lea edi, [esp]
mov ax, 0xa9
and dword [ebp - 8], 0xffffff
mov dword [ebp - 8], ecx
and dword [ebp - 4], 0x55555555
mov edx, 0x200
xor edx, edx
cmp edx, dword [ebp - 8]
jbe 0x408609
mov ecx, 0xc8
cmp dword [ebp - 0xc], ecx
jbe 0x408609
mov cx, 2
or dword [ebp - 4], 0xffff
mov edx, 0x64
sub edx, edx
mov edx, 0xb
cmp edx, 0xe6
jne 0x408635
xor ecx, ecx
mov ecx, 4
lea ecx, [ebp - 4]
lea edx, [ebp - 8]
mov edx, 0x16
call fcn.004046ff
mov eax, 0x300
mov edx, dword [ebp - 0xc]
mov eax, 0x40
xor dword [ebp - 0xc], 0xffffff
leave
ret
Function at 0x4086f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, 0x200
test edx, edx
jb 0x40870e
xor ecx, ecx
mov cx, 0x20
cmp dword [ebp - 8], ecx
jb 0x40870e
sub ecx, ecx
mov ecx, 0xc
call fcn.004045f5
push 8
push 0x8000
push 0x200
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea eax, [ebp - 0xc]
lea eax, [esp]
mov edx, 0x49
lea ecx, [ebp]
mov si, 0x40
mov eax, esi
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
mov eax, edi
mov dword [ebp - 4], 0x37
xor ecx, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov ecx, edi
mov dword [ebp - 0xc], edx
mov edi, dword [ebp - 8]
add dword [ebp - 0xc], 0x55005555
mov dx, 0x39
mov edi, dword [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
lea esi, [ebp - 8]
xor eax, eax
xor dword [ebp - 4], 0x55550055
or dword [ebp - 4], 0x11001111
sub esi, esi
mov eax, dword [ebp - 8]
or dword [ebp - 4], 0x770077
or dword [ebp - 0xc], 0xee
mov ecx, dword [esp]
sub ecx, ecx
lea edi, [ebp]
mov edi, dword [esp]
add dword [ebp - 8], 0xff
xor eax, eax
mov edx, dword [ebp - 8]
sub dword [ebp - 4], 4
sub eax, eax
leave
ret
Function at 0x416dc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50786b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push esi
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.00407a50
push 0
push 0x1a
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x14c], 0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
call edi
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00407a30
mov eax, dword [str.MacromediaFlash_PlayerSharedObjects]
push eax
mov esi, eax
call fcn.00402330
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00417530
lea ecx, [esp + 0x10]
call fcn.00402c10
mov esi, eax
call fcn.00416ee0
push 0
push 0x1c
lea edx, [esp + 0x34]
push edx
push 0
call edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.00407a30
mov eax, dword [str.GoogleChromeUser_DataDefaultPepper_DataShockwave_FlashWritableRootSharedObjects]
push eax
mov esi, eax
call fcn.00402330
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00417530
lea ecx, [esp + 0x10]
call fcn.00402c10
mov esi, eax
call fcn.00416ee0
lea ecx, [esp + 0x10]
call fcn.00402b90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004bfe65
add esp, 0x134
ret