joyce8/EMBER2024-capa huggingface dataset:
Function at 0x596b80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x596d90
sub esp, 0x1c
mov eax, dword [0x736dc0]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea ebp, [0x5c41c0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x596bd9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
jmp 0x596bef
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x596c8e
lea ebx, [0x635740]
cmp dword [edx + 0x10], ebx
jne 0x596c07
mov edx, dword [edx + 0x14]
jmp 0x596c0c
mov edx, 0
jne 0x596c85
mov dword [esp + 0x18], edx
mov ebp, dword [edx + 0xc]
cmp eax, ebp
je 0x596c20
mov eax, 1
jmp 0x596c45
mov eax, dword [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
mov edx, dword [esp + 0x18]
lea ebx, [0x635740]
test al, al
jne 0x596c85
mov eax, dword [0x736dc0]
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0xc]
lea ebp, [0x5c41c0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
jne 0x596be2
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
lea eax, [0x635900]
cmp dword [edx + 0x10], eax
jne 0x596c9e
mov eax, dword [edx + 0x14]
jmp 0x596ca3
mov eax, 0
jne 0x596bd9
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x596bd9
mov edx, dword [ecx + 8]
cmp edx, 0x112800e2
jne 0x596cd6
lea eax, [0x6359a8]
cmp ecx, eax
jne 0x596bd9
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
cmp edx, 0xf750d0f7
jne 0x596bd9
lea edx, [0x635954]
cmp ecx, edx
jne 0x596bd9
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x14], 8
jne 0x596bd9
mov ecx, dword [eax + 0x10]
cmp dword [ecx], 0x626f6a5f
jne 0x596bd9
cmp dword [ecx + 4], 0x7463656a
jne 0x596bd9
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x596bd9
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
cmp ecx, 5
jne 0x596d5a
cmp dword [edx], 0x73616c63
jne 0x596bd9
cmp byte [edx + 4], 0x73
jne 0x596bd9
movzx eax, byte [eax + 0x2c]
test al, al
jne 0x596bd9
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
cmp ecx, 6
jne 0x596bd9
cmp dword [edx], 0x75727473
jne 0x596bd9
cmp word [edx + 4], 0x7463
jne 0x596bd9
movzx eax, byte [eax + 0x2c]
test al, al
je 0x596bd9
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
call sym.runtime.morestack_noctxt
jmp sym.main._typeConv_.badJNI
Function at 0x41c998
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push ebx
call sub.ADVAPI32.DLL_CryptAcquireContextA
add esp, 0xc
test eax, eax
je 0x41c9d4
sub esp, 0xc
lea eax, [ebx + 4]
push eax
push 0
push 0
push 0x8003
push dword [ebx]
call sub.ADVAPI32.DLL_CryptCreateHash
add esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
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 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
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 + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x78d24de6
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x504b7566
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.00401537
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x4019de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, esi
add ebx, 0xc8
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov eax, edi
shl eax, cl
cdq
idiv ebx
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x401a7c
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
jmp 0x401a17
add dword [ebp - 0xc], ebx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jl 0x401a11
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x401a30
mov eax, dword [ebp + 0xc]
add eax, esi
mov ebx, eax
sub ebx, dword [ebp - 0xc]
or ebx, ebx
je 0x401a8d
and dword [ebp - 0x14], 0
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0040198a
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0040198a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
or edx, esi
add edx, eax
push edx
mov edx, dword [ebp - 0x18]
xor edx, esi
add edx, eax
push edx
call fcn.00401970
add esp, 0x20
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x7e8
jl 0x401a38
inc dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, esi
dec edx
and eax, edx
cmp dword [ebp - 4], eax
jle 0x401a07
pop edi
pop esi
pop ebx
leave
ret
Function at 0x8e1368
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e136e
pop ebp
sub ebp, 6
sub ebp, 0x4e1368
jmp 0x8e13cc
add byte [edi + 0x67], cl
adc byte [edx + esi*4], bh
movsd dword es:[edi], dword [esi]
inc esi
pop ebp
loopne 0x8e13a4
sbb byte [eax], ch
jg 0x8e13c4
in al, dx
jbe 0x8e136e
leave
mov al, 0x7a
or eax, dword [ecx]
add byte [eax], al
add byte [edx + 0x6b], dh
sub ah, byte [edx + 0x200f4e81]
fist dword [ebp + 0x6a56d85a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
push 0xb8246920
push 0x3004e13
lds eax, [ecx + 0x93c0]
add byte [ecx + 0x62d], bh
mov dword [0x7e8877e2], eax
invalid
jmp 0x8e13d5
mov eax, 0x4e1368
add eax, ebp
add eax, 0x93
mov ecx, 0x62d
mov edx, 0xc0ca1646
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e13ec
jmp 0x8e13ff
sub al, 6
inc esi
push esi
inc esi
inc esi
inc esi
mov ch, byte [edx + 0x46]
jne 0x8e1393
push ss
mov ecx, 0x2177ad3
inc esi
push ss
int 0x8b
int 0xcf
jp 0x8e1461
inc esi
inc esi
mov dword [edi + 0x464646be], 0x40fe8b45
inc esi
inc esi
inc esi
cld
outsb dx, byte [esi]
inc esi
inc esi
inc esi
mov cl, 0xa4
inc ebp
mov cs, ebp
invalid
inc esi
inc esi
int 0xd3
dec edx
inc esi
inc esi
inc esi
int 0xcb
push esi
inc esi
inc esi
inc esi
xchg dword [edi - 0x3abb88bc], ebp
test byte [edx + 0xf], al
dec ecx
ret
Function at 0x401100
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call fcn.00402440
mov ecx, dword fs:[0x18]
mov edx, dword [ecx + 0x30]
mov ecx, dword [edx + 0x10]
mov ecx, dword [ecx + 0x1c]
add esp, 4
test ecx, ecx
je 0x40116f
cmp dword [0x4a2684], 6
jl 0x40113f
push 0
lea edx, [ebp - 4]
push edx
push eax
push esi
push ecx
call dword [0x4a02b4]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4a01b8]
test edx, edx
je 0x40116f
jmp loc.004f6b08
mov esp, ebp
pop ebp
ret

Function at 0x401180
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
sub esp, 0xc
test eax, eax
je 0x4011ec
cmp dword [0x4a2684], 6
jl 0x4011b9
push 0
lea ecx, [ebp - 4]
push ecx
push 1
lea edx, [ebp + 8]
push edx
push eax
call dword [0x4a02b4]
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4a01b8]
test ecx, ecx
je 0x4011ec
test al, 3
jne 0x4011ec
push 0
push 0
push 1
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
push eax
mov dword [ebp - 0xc], 0xc0000365
mov dword [ebp - 8], 0xffffffd5
call ecx
mov esp, ebp
pop ebp
ret
Function at 0x406620
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, eax
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov edi, dword [esi + 0x48]
sub edi, dword [ecx + 8]
push 0x4468
lea ebx, [esi + 0x4a0]
push 0
push ebx
add edi, 0x4a4328
mov dword [ebp - 4], 0
call fcn.00411580
mov eax, dword [esi]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0x4468
push ebx
push edi
push eax
call dword [0x4a0128]
test eax, eax
jns 0x406687
push eax
push edi
push str.NtReadVirtualMemory___p___failed_reading_child_process_status:__x_n
push eax
push str.supR3HardNtChildProcessRequest
call fcn.004064d0
mov eax, dword [esi + 0x4ac]
cmp eax, dword [ebp + 8]
je 0x406781
mov ecx, dword [esi + 0x4b4]
mov edx, dword [esi + 0x4b0]
lea edi, [esi + 0x508]
push edi
lea ebx, [esi + 0x4b8]
push ebx
push ecx
push edx
push eax
push str.supR3HardenedWinCheckChild:_enmRequest_d_rc_d_enmWhat_d__s:__s_n
mov byte [esi + 0x4907], 0
mov byte [esi + 0x507], 0
call fcn.004014e0
mov eax, dword [esi + 0x4ac]
add esp, 0x18
cmp eax, 2
je 0x4066f3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
push str.Unexpected_child_request__d._Was_expecting__d___s_._n
push 0xfffffffffffffffe
push str.supR3HardenedWinCheckChild
call fcn.004064d0
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [0x4a0150]
test eax, eax
jns 0x406714
push eax
push str.NtSetEvent_failed:__x_n
push eax
push str.supR3HardNtChildProcessRequest
call fcn.004064d0
mov edx, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push 0
push edx
mov dword [ebp - 0xc], 0xfd050f80
mov dword [ebp - 8], 0xffffffff
call fcn.00402f8b
test eax, eax
je 0x406750
push eax
push str.supR3HardNtChildProcessRequest:_Child_is_taking_too_long_to_quit__rcWait_x___killing_it..._n
call fcn.004014e0
mov eax, dword [esi]
add esp, 8
push 0x40010004
push eax
call dword [0x4a0190]
mov eax, dword [esi + 0x4b4]
push edi
push 0x4675d0
test eax, eax
jne 0x406773
mov ecx, dword [esi + 0x4b0]
push ecx
push 5
push str.supR3HardenedWinCheckChild
call fcn.00401da0
mov edx, dword [esi + 0x4b0]
push edx
push eax
push ebx
call fcn.00401da0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406ea0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, eax
mov ebx, dword [esi + 0x48]
push 0x4468
lea edi, [esi + 0x4a0]
push 0
push edi
call fcn.00411580
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [edi], eax
mov eax, dword fs:[0x18]
add esp, 0xc
mov dword [esi + 0x4a8], edx
mov dword [esi + 0x4a4], ecx
mov dword [esi + 0x4ac], 2
mov dword [esi + 0x4b0], 0
mov ecx, dword [eax + 0x30]
lea edx, [ebp - 0x18]
push edx
mov edi, ebx
sub edi, dword [ecx + 8]
push 0x4468
lea eax, [esi + 0x4a0]
push eax
mov eax, dword [esi]
add edi, 0x4a4328
push edi
push eax
call dword [0x4a01c0]
test eax, eax
jns 0x406f33
push eax
push edi
push str.NtWriteVirtualMemory___p___failed_writing_child_process_parameters:__x_n
push eax
push str.supR3HardenedWinSetupChildInit
call fcn.004064d0
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0x467ad8
call fcn.00410430
add esp, 0xc
test eax, eax
jns 0x406f5b
push eax
push str.supHardNtLdrCacheOpen_failed_on_NTDLL:__Rrc_n
push eax
push str.supR3HardenedWinSetupChildInit
call fcn.004064d0
mov edx, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
push edx
lea eax, [ebp - 0x10]
push eax
push ecx
call fcn.004100c0
add esp, 0x1c
test eax, eax
jns 0x406f8c
push eax
push str.supHardNtLdrCacheEntryGetBits_failed_on_NTDLL:__Rrc_n
push eax
push str.supR3HardenedWinSetupChildInit
call fcn.004064d0
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
mov edx, dword [ebp - 0xc]
push str.LdrInitializeThunk
push 0xffffffffffffffff
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call fcn.00415440
add esp, 0x1c
test eax, eax
jns 0x406fc5
push eax
push str.Error_locating_LdrInitializeThunk_in_NTDLL:__Rrc
push eax
push str.supR3HardenedWinSetupChildInit
call fcn.004064d0
mov edi, dword [ebp - 0x20]
push edi
push str.supR3HardenedWinSetupChildInit:_uLdrInitThunk_p_n
call fcn.004014e0
mov ecx, dword fs:[0x18]
mov eax, dword [ebp - 0x20]
sub eax, dword [esi + 0x14]
mov edx, dword [ecx + 0x30]
add eax, dword [ebp - 0x10]
sub ebx, dword [edx + 8]
push 0x10
push eax
lea ecx, [ebp - 0x30]
push ecx
add ebx, 0x402510
call fcn.00403290
sub ebx, dword [ebp - 0x20]
add esp, 0x14
lea edx, [ebp - 0x14]
push edx
mov edx, dword [esi]
push 0x40
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
jmp 0x4f4268
Function at 0x415230
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 2
jne 0x415242
mov edi, 3
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
push 0
push 0
push 4
lea eax, [ebp + 0x10]
push eax
push esi
call ecx
add esp, 0x14
test eax, eax
js 0x415387
mov eax, dword [ebp + 0x10]
mov edx, 0x5a4d
cmp ax, dx
je 0x41528e
cmp eax, 0x4550
je 0x41528e
cmp eax, 0x464c457f
je 0x41528e
mov ecx, 0x584c
cmp ax, cx
je 0x41528e
pop edi
mov eax, 0xfffffda8
pop esi
pop ebp
ret
mov dword [ebp + 8], 0
cmp ax, dx
jne 0x4152ff
mov ecx, dword [esi + 4]
push 0
push 0x3c
push 4
lea eax, [ebp + 8]
push eax
push esi
call ecx
add esp, 0x14
test eax, eax
js 0x415387
mov eax, dword [ebp + 8]
cmp eax, 0x40
jbe 0x415285
push 0
push eax
mov eax, dword [esi + 4]
push 4
lea edx, [ebp + 0x10]
push edx
push esi
call eax
add esp, 0x14
test eax, eax
js 0x415387
mov eax, dword [ebp + 0x10]
cmp eax, 0x4550
je 0x415306
mov ecx, 0x584c
cmp ax, cx
je 0x4152ff
mov edx, 0x454c
cmp ax, dx
je 0x4152ff
mov ecx, 0x454e
cmp ax, cx
jne 0x415285
cmp eax, 0x4550
jne 0x415326
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push ecx
push edi
push edx
push esi
call fcn.0043f3b0
add esp, 0x1c
pop edi
pop esi
pop ebp
ret
cmp eax, 0x464c457f
jne 0x415336
pop edi
mov eax, 0xfffffda7
pop esi
pop ebp
ret
mov ecx, 0x584c
cmp ax, cx
jne 0x415349
pop edi
mov eax, 0xfffffda5
pop esi
pop ebp
ret
mov edx, 0x454c
cmp ax, dx
jne 0x41535c
pop edi
mov eax, 0xfffffda4
pop esi
pop ebp
ret
mov ecx, 0x454e
cmp ax, cx
jne 0x41536f
pop edi
mov eax, 0xfffffda3
pop esi
pop ebp
ret
xor ecx, ecx
mov edx, 0x5a4d
cmp ax, dx
setne cl
lea eax, [ecx - 1]
and eax, 0xfffffffa
add eax, 0xfffffda8
pop edi
pop esi
pop ebp
ret

Function at 0x415d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
push edi
push ecx
call fcn.00404170
mov edx, dword fs:[0x18]
mov edi, eax
mov eax, dword [edx + 0x30]
mov ebx, dword [eax + 0xc]
mov esi, dword [ebx + 0x14]
add ebx, 0x14
add esp, 4
add edi, edi
mov dword [ebp - 4], 0
cmp esi, ebx
je 0x415da0
cmp dword [ebp - 4], 0x400
jae 0x415da0
movzx eax, word [esi + 0x1c]
lea ecx, [edi + 2]
cmp eax, ecx
jbe 0x415d97
mov edx, dword [esi + 0x20]
sub eax, edi
shr eax, 1
lea ecx, [edx + eax*2]
movzx eax, word [ecx - 2]
cmp eax, 0x5c
je 0x415d83
cmp eax, 0x2f
jne 0x415d97
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push edx
push ecx
call fcn.00414cf0
add esp, 8
test eax, eax
je 0x415db7
mov esi, dword [esi]
inc dword [ebp - 4]
cmp esi, ebx
jne 0x415d57
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x415dc7
pop edi
pop esi
mov dword [eax + 0x14], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx + 0x14], eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [1]
inc dl
mov byte [1], dl
int3
Function at 0x415de0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [eax + 0x14]
push esi
mov esi, 0x5a4d
xor ecx, ecx
push edi
cmp word [edx], si
jne 0x415e0b
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x800
jbe 0x415e0b
mov dl, byte [2]
inc dl
mov byte [2], dl
int3
mov esi, dword [eax + 0x14]
add esi, ecx
mov dword [eax + 0x18], esi
cmp dword [esi], 0x4550
je 0x415e2a
mov dl, byte [3]
inc dl
mov byte [3], dl
int3
mov edx, 0xe0
cmp word [esi + 0x14], dx
je 0x415e44
mov dl, byte [4]
inc dl
mov byte [4], dl
int3
mov edx, 0x10b
cmp word [esi + 0x18], dx
je 0x415e5e
mov dl, byte [5]
inc dl
mov byte [5], dl
int3
cmp dword [esi + 0x74], 0x10
je 0x415e73
mov dl, byte [6]
inc dl
mov byte [6], dl
int3
mov dword [eax + 0x1c], ecx
movzx edx, word [esi + 6]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*8 + 0xf8]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0x50]
mov dword [eax + 0x24], edx
mov edi, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
push ebx
cmp edi, 0x28
jb 0x415eab
cmp edx, ecx
jb 0x415eab
mov ecx, dword [esi + 0x50]
cmp edx, ecx
jae 0x415eab
lea ebx, [edx + edi]
cmp ebx, ecx
jbe 0x415eba
mov cl, byte [7]
inc cl
mov byte [7], cl
int3
mov ecx, dword [eax + 0x14]
add ecx, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edi
mov edx, dword [ecx + 0x14]
cmp edx, 0x100000
jae 0x415ee5
cmp edx, 1
jb 0x415ee5
mov edx, dword [ecx + 0x18]
cmp edx, 0x100000
jae 0x415ee5
cmp edx, 1
jae 0x415ef4
mov dl, byte [8]
inc dl
mov byte [8], dl
int3
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x38], edx
mov edi, dword [ecx + 0x14]
cmp dword [ecx + 0x18], edi
jb 0x415f05
mov edi, dword [ecx + 0x18]
mov dword [eax + 0x34], edi
mov edx, dword [ecx + 0x1c]
cmp edx, dword [eax + 0x20]
jb 0x415f1e
mov ebx, dword [esi + 0x50]
cmp edx, ebx
jae 0x415f1e
lea edx, [edx + edi*4]
cmp edx, ebx
jbe 0x415f2d
mov dl, byte [9]
inc dl
mov byte [9], dl
int3
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x14]
mov dword [eax + 0x30], edx
mov edx, dword [ecx + 0x20]
cmp edx, dword [eax + 0x20]
jb 0x415f4f
mov edi, dword [esi + 0x50]
cmp edx, edi
jae 0x415f4f
mov ebx, dword [ecx + 0x18]
lea edx, [edx + ebx*4]
cmp edx, edi
jbe 0x415f5e
mov dl, byte [0xa]
inc dl
mov byte [0xa], dl
int3
mov edx, dword [ecx + 0x20]
add edx, dword [eax + 0x14]
pop ebx
mov dword [eax + 0x3c], edx
mov edx, dword [ecx + 0x24]
cmp edx, dword [eax + 0x20]
jb 0x415f81
mov esi, dword [esi + 0x50]
cmp edx, esi
jae 0x415f81
mov edi, dword [ecx + 0x18]
lea edx, [edx + edi*4]
cmp edx, esi
jbe 0x415f90
mov dl, byte [0xb]
inc dl
mov byte [0xb], dl
int3
mov ecx, dword [ecx + 0x24]
add ecx, dword [eax + 0x14]
pop edi
mov dword [eax + 0x40], ecx
pop esi
ret
Function at 0x43e680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [eax + 0x94]
mov dword [eax + 0xf0], ecx
mov edx, dword [eax + 0x90]
mov dword [eax + 0xe8], edx
xor ecx, ecx
mov dword [eax + 0xec], ecx
movzx edx, word [eax + 0x8e]
mov word [eax + 0xe6], dx
movzx edx, word [eax + 0x8c]
mov word [eax + 0xe4], dx
mov edx, dword [eax + 0x88]
mov dword [eax + 0xe0], edx
mov edx, dword [eax + 0x84]
mov dword [eax + 0xd8], edx
mov dword [eax + 0xdc], ecx
mov edx, dword [eax + 0x80]
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd4], ecx
mov edx, dword [eax + 0x7c]
mov dword [eax + 0xc8], edx
mov dword [eax + 0xcc], ecx
mov edx, dword [eax + 0x78]
mov dword [eax + 0xc0], edx
mov dword [eax + 0xc4], ecx
mov edx, dword [eax + 0x74]
mov dword [eax + 0xb8], edx
mov dword [eax + 0xbc], ecx
mov edx, dword [eax + 0x70]
mov dword [eax + 0xb0], edx
mov dword [eax + 0xb4], ecx
mov edx, dword [eax + 0x6c]
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], ecx
mov edx, dword [eax + 0x68]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], ecx
mov edx, dword [eax + 0x64]
mov dword [eax + 0x9c], edx
mov edx, dword [eax + 0x60]
mov dword [eax + 0x98], edx
movzx edx, word [eax + 0x5e]
mov word [eax + 0x96], dx
movzx edx, word [eax + 0x5c]
mov word [eax + 0x94], dx
mov edx, dword [eax + 0x58]
mov dword [eax + 0x90], edx
mov edx, dword [eax + 0x54]
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], ecx
mov edx, dword [eax + 0x50]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
mov edx, dword [eax + 0x4c]
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], ecx
mov edx, dword [eax + 0x48]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], ecx
mov edx, dword [eax + 0x44]
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], ecx
mov edx, dword [eax + 0x40]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], ecx
mov edx, dword [eax + 0x3c]
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], ecx
mov edx, dword [eax + 0x38]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], ecx
movzx edx, word [eax + 0x36]
mov word [eax + 0x4e], dx
movzx edx, word [eax + 0x34]
mov word [eax + 0x4c], dx
mov edx, dword [eax + 0x2c]
mov dword [eax + 0x48], edx
mov edx, dword [eax + 0x30]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
mov edx, dword [eax + 0x28]
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
mov edx, dword [eax + 0x24]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ecx
mov edx, dword [eax + 0x20]
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
mov edx, dword [eax + 0x18]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
ret