joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007c35
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10007c5d
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10007c58
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10007c42
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10007c4a
cmp edx, ebx
jne 0x10007d98
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10007c19
add eax, dword [eax + 4]
jmp 0x10007c06
mov dword [ebp + 0xc], ebx
jmp 0x10007c68
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10007c80
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10007c9e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10007cfc
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10007ce3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10007cec
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10007cf6
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10007cd8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10007c62
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10007d49
dec eax
je 0x10007d40
sub eax, 3
je 0x10007d37
mov dword [ebp - 4], 0x40
jmp 0x10007d66
mov dword [ebp - 4], 4
jmp 0x10007d4c
mov dword [ebp - 4], 0x20
jmp 0x10007d4c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
cld
push dword [ebp - 0xac]
push dword [ebp + 8]
jne 0x10007d64
call dword [ebp - 0xbc]
test eax, eax
je 0x10007d98
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10007d18
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100075a9
cwde
adc cl, byte [ecx + ebx*2]
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x10007da4

Function at 0x10007e01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec edx
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
Function at 0x10007e48
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.100075b9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000756e
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
invalid

Function at 0x10008256
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.100075b9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000756e
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.100075a9
push dword [ebp + 0x68d56ab8]
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x1000829d
cmp dword [ebp - 0x398], 0
je 0x10008467
cmp dword [ebp + 0xc], 1
je 0x10008467
cmp dword [ebp + 0xc], 8
jne 0x1000842f
invalid
movsd dword es:[edi], dword [esi]
dec eax
stc

Function at 0x100094c9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esi, 0xfff82d85
call [esi + eax*8 - 0x7d17b]
inc eax
mov byte [ebp - 0x7d1], 0x82
mov byte [ebp - 0x7d0], 0x81
mov byte [ebp - 0x7cf], 0x89
mov byte [ebp - 0x7ce], 0xee
push 0xb
lea eax, [ebp - 0x7dc]
push eax
call fcn.100075b9
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.1000751a
add esp, 0xc
jmp 0x10009521
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.100075a9
jns 0x1000959f
invalid
add ch, byte [edx]
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x100095f3
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x100095f8
jmp fcn.10008f4b
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x1000963f
lea eax, [ebp - 0x714]
push eax
call fcn.100075b9
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1000756e
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x1000964a
jmp 0x1000964f
jmp fcn.10008f4b
cmp dword [ebp - 0x37c], 0
jne 0x100096f9
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
invalid
dec dword [ebx - 0x38b7b]
dec dword [ecx - 0x7e77b]
inc dword [ebx - 0x7df5b]
inc dword [eax]
Function at 0x40131e
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [esp], str.taskkill__f__im_QQ.exe
call sub.msvcrt.dll_system
cmp dword [ebp + 8], 1
jne 0x40134e
mov dword [esp], 0x403017
call sym._printf
mov dword [esp], str._C:Program_Files__x86_TencentQQLiteBinQQScLauncher.exe_
call sub.msvcrt.dll_system
leave
ret

Function at 0x401364
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x1387
jg 0x4013bf
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.notepad
mov dword [esp + 4], str.open
mov dword [esp], 0
call sym._ShellExecuteA_24
sub esp, 0x18
lea eax, [ebp - 4]
inc dword [eax]
jmp 0x401378
leave
ret

Function at 0x4013d6
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
call fcn.00401994
call sym.___main
lea edx, [ebp - 0x98]
mov eax, pe_nt_image_headers32
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sym._memset
mov dword [esp], 0x403084
call sym._printf
call sym.openqq__
lea eax, [ebp - 0x98]
mov dword [esp + 4], eax
mov dword [esp], 0x4030b4
call sym._scanf
lea eax, [ebp - 0x98]
mov dword [esp + 4], str.123456789987654321
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x40146e
call sym.killqq__
mov dword [esp], str.pause
call sub.msvcrt.dll_system
mov eax, 0
leave
ret

Function at 0x401a5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x710c9b
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x7109ec
and eax, eax
add eax, 0xd09cf2c1
add ecx, 0x8ea3c691
call fcn.00710ce6
sub eax, 0xbf46a29f
mov eax, eax
dec ecx
xor dword [edx], edi
add ecx, 0xb5afbdde
mov ecx, 0x7b837555
inc edx
add eax, eax
sub ecx, ecx
cmp edx, ebx
jne fcn.00710c9b
add eax, eax
sub ecx, ecx
sub eax, 0x4d83a43e
ret
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, 0x4849ee39
inc eax
cmp eax, 0xcce08510
mov eax, ecx
mov eax, ebx
mov eax, 0xd905db37
inc eax
nop
mov eax, ebx
mov eax, ebx
cmp eax, 0x5e
mov eax, 0xcadeee35
mov eax, ecx
cmp eax, 0xffffff88
mov eax, ecx
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
inc eax
mov eax, ebx
mov eax, 0xcb30d67f
inc eax
cmp eax, 2
mov eax, ebx
mov eax, 0x61a95c61
mov eax, ebx
inc eax
mov eax, 0x159ae8c4
mov eax, 0xafeb4ebe
nop
mov eax, 0x139befc5
cmp eax, 0x23
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0xaba82ad8
cmp eax, 0xe33e53b0
mov eax, ebx
mov eax, ebx
cmp eax, 0x5ba9dd5f
cmp eax, 0xffffffc4
nop
nop
mov eax, ebx
mov eax, ecx
mov eax, 0x17eb13c6
mov eax, 0xaed705cf
mov eax, ebx
nop
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, ebx
mov eax, ecx
inc eax
inc eax
cmp eax, 0xd13e3a96
nop
cmp eax, 0xfffffffb
inc eax
cmp eax, 0x63ccbe7c
cmp eax, 0x41
mov eax, ecx
cmp eax, 0x6fee3575
mov eax, ebx
nop
inc eax
cmp eax, 0xffffffad
inc eax
cmp eax, 0x5e
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
cmp eax, 0xffffffb7
mov eax, ecx
mov eax, ecx
cmp eax, 0xe5b60972
inc eax
inc eax
mov eax, ecx
inc eax
inc eax
mov eax, ebx
inc eax
nop
cmp eax, 0x4638df98
mov eax, ecx
mov eax, 0xcd9995d2
nop
inc eax
cmp eax, 0xf63d6142
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 0xffffffdf
cmp eax, 0xc
mov eax, ebx
mov eax, 0x105773fa
cmp eax, 3
mov eax, 0xf23761e2
inc eax
mov eax, 0x4b54111a
cmp eax, 0x49
nop
inc eax
nop
mov eax, ecx
mov eax, ebx
mov eax, ecx
mov eax, ecx
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x334b3390
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x48da4eb5
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4ec670
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8f000]
mov dword [edi + 0xcf740], 0xb204d659
push edi
jmp 0x4ec69a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ec6a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ec690
mov eax, 1
add ebx, ebx
jne 0x4ec6b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ec6c4
jne 0x4ec6e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ec6e3
dec eax
add ebx, ebx
jne 0x4ec6d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ec6a8
add ebx, ebx
jne 0x4ec6df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ec735
xor ecx, ecx
sub eax, 3
jb 0x4ec6fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ec76a
sar eax, 1
mov ebp, eax
jmp 0x4ec706
add ebx, ebx
jne 0x4ec706
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ec6d4
inc ecx
add ebx, ebx
jne 0x4ec714
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ec6d4
add ebx, ebx
jne 0x4ec721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ec716
jne 0x4ec732
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ec716
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ec754
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ec746
jmp 0x4ec696
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ec754
add edi, ecx
jmp 0x4ec696
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ec772
cmp byte [edi], 0x11
jne 0x4ec772
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 0x4ec777
lea edi, [esi + 0xe5000]
mov eax, dword [edi]
or eax, eax
je 0x4ec7ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf2e44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf2fc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ec7a4
mov ecx, edi
jns 0x4ec7d3
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 + 0xf2fc4]
or eax, eax
je 0x4ec7e9
mov dword [ebx], eax
add ebx, 4
jmp 0x4ec7c1
call dword [esi + 0xf2fd4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4ec820
cmp al, 0xef
ja 0x4ec813
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4ec7f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4ec802
mov ebp, dword [esi + 0xf2fc8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x4ec854
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xc06008], 0x8088405
inc edx
mov dword [ebx + 0xc06008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cb64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cb95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cb7d
add dl, dl
jne 0x41cba0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cbf1
xor eax, eax
add dl, dl
jne 0x41cbad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc8e
add dl, dl
jne 0x41cbbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbdd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cbe7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cb8c
mov eax, 1
add dl, dl
jne 0x41cbff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cbf6
sub eax, ebx
mov ebx, 1
jne 0x41cc3d
mov ecx, 1
add dl, dl
jne 0x41cc23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cb8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cc54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cb8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ccaf
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cb8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41d828
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d83b
add esp, 0xfffffff0
call fcn.00403da8
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403b30
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d861
cmp dword [esi + 0x58], 0x40
jb 0x41da47
jmp 0x41d867
jl 0x41da47
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.00406e80
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041d3e4
cmp word [ebx + 0xc], 0x5a4d
jne 0x41da47
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41da47
cmp ecx, 0x10000
jge 0x41da47
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d8c2
cmp eax, dword [esi + 0x58]
ja 0x41da47
jmp 0x41d8c8
jg 0x41da47
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.00406e80
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041d3e4
cmp dword [ebx + 0x4c], 0x4550
jne 0x41da47
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.00406e80
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0041d3e4
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41d97f
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d943
cmp eax, dword [esi + 0x58]
ja 0x41d9d0
jmp 0x41d949
jg 0x41d9d0
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.00406e80
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0041d3e4
mov byte [ebx + 4], 1
jmp 0x41d9d0
cmp ax, 0x14c
jne 0x41d9d0
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d9a0
cmp eax, dword [esi + 0x58]
ja 0x41d9d0
jmp 0x41d9a2
jg 0x41d9d0
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.00406e80
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0041d3e4
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41da47
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41da01
cmp eax, dword [esi + 0x58]
ja 0x41da47
jmp 0x41da03
jg 0x41da47
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0xbf02fc]
call fcn.00405b74
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0041d3e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41da5e
call fcn.00403e00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e758
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xbf1c17
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e809
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e7f2
test esi, esi
jbe 0x41e809
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088a4
test eax, eax
jne 0x41e7e4
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e809
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e7c1
jmp 0x41e809
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e809
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbf1c1e
ret
Function at 0x41f04c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0xbf25fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41f087
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41f0a0
lea eax, [ebp - 0x10]
mov edx, dword [0xc0823c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41f0b3
lea eax, [ebp - 0x10]
mov edx, dword [0xc0823c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41f0bf
adc edx, 0
mov edx, dword [edx*4 + 0xc070d0]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406af4
mov esi, eax
cmp esi, 0xffffffff
je 0x41f1cd
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41f1c0
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f1c0
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d94
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41f1c0
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f1c0
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f1c0
cmp dx, 0x150
ja 0x41f1c0
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41f1c0
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f1c0
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f1e5
inc ebx
cmp ebx, 0x19
jne 0x41f079
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbf2602
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret