joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100584d6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c218
push 0x10048df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
test eax, eax
mov esi, 0x10000
je 0x1005850e
lea esi, [eax + 0x10000]
push 0x1c
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.10049e50
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jbe 0x1005858d
cmp dword [ebp - 0x24], 0x1000
jne 0x10058550
test byte [ebp - 0x1f], 1
jne 0x10058550
and dword [ebp - 4], 0
mov dword [ebp - 0x38], esi
cmp word [esi], 0x5a4d
je 0x1005855b
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
lea esi, [eax + ecx]
jmp 0x1005851e
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
or dword [ebp - 4], 0xffffffff
cmp dword [eax], 0x4550
jne 0x10058550
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x10058571

Function at 0x10058591
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c228
push 0x10048df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
xor ebx, ebx
cmp eax, ebx
jne 0x100585cd
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
cmp word [eax], 0x5a4d
je 0x100585e1
push 0xc1
jmp 0x10058690
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0x20], esi
cmp dword [esi], 0x4550
je 0x100585fb
push 0xbf
jmp 0x10058690
mov ax, word [esi + 0x14]
cmp ax, bx
jne 0x1005861c
xor esi, esi
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x1005869c
movzx eax, ax
lea eax, [eax + esi + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
movzx eax, word [esi + 6]
cmp ebx, eax
jae 0x10058604
lea eax, [ebx + ebx*4]
mov ecx, dword [ebp - 0x24]
lea edi, [ecx + eax*8]
push str..detour
push edi
call fcn.1004e920
pop ecx
pop ecx
test eax, eax
jne 0x10058681
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10058604
cmp dword [edi + 0x10], 0
je 0x10058604
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + ecx]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov eax, dword [esi]
cmp eax, 0x40
jb 0x10058604
cmp dword [esi + 4], 0x727444
jne 0x10058604
cmp dword [esi + 8], 0
jne 0x1005867d
mov dword [esi + 8], eax
push 0
jmp 0x1005860b
inc ebx
jmp 0x10058626
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100587da
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
mov eax, 0x150
cmp dword [esi], eax
jne 0x100588b9
cmp dword [ebp + 0xc], eax
jb 0x100588b9
and dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 0x40
push dword [esi + 4]
call edi
test eax, eax
je 0x100588b3
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, 0xf8
push 0x40
push ebx
push dword [esi + 8]
call edi
test eax, eax
je 0x100588a4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10058846
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push 4
push eax
call edi
test eax, eax
je 0x10058897
lea eax, [esi + 0x14]
push 0x40
push eax
push dword [esi + 4]
call fcn.10049b10
lea eax, [esi + 0x54]
push ebx
push eax
push dword [esi + 8]
call fcn.10049b10
mov eax, dword [esi + 0xc]
add esp, 0x18
test eax, eax
je 0x1005887d
lea ecx, [esi + 0x14c]
push 4
push ecx
push eax
call fcn.10049b10
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], 1
test eax, eax
je 0x10058897
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push 4
push eax
call edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
push ebx
push dword [esi + 8]
call edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push 0x40
push dword [esi + 4]
call edi
pop ebx
mov eax, dword [ebp - 4]
pop edi
jmp 0x100588c6
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
leave
ret 8

Function at 0x1005a520
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7fffff00
cmp edx, 0x7ff7a500
je 0x1005a53e
mov eax, 3
jmp 0x1005a543
and eax, 0xff
and eax, 0x3f
push esi
cmp eax, 6
je 0x1005a580
cmp eax, 0x26
jne 0x1005a5c7
mov eax, dword [ecx]
mov ecx, dword [esp + 0xc]
cmp ecx, 1
jl 0x1005a5c7
xor edx, edx
mov dl, byte [eax + 6]
cmp ecx, edx
jg 0x1005a5c7
mov edx, dword [esp + 0x10]
lea ecx, [eax + ecx*8 + 8]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1005a579
mov dword [ecx], eax
mov eax, 0x100a3ee0
pop esi
ret
mov ecx, dword [ecx]
mov eax, dword [esp + 0xc]
cmp eax, 1
mov esi, dword [ecx + 0xc]
jl 0x1005a5c7
cmp eax, dword [esi + 0x28]
jg 0x1005a5c7
mov edx, dword [ecx + eax*4 + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov edx, dword [edx + 8]
mov dword [edi], edx
mov edx, dword [esp + 0x18]
test edx, edx
pop edi
je 0x1005a5b0
mov ecx, dword [ecx + eax*4 + 0xc]
mov dword [edx], ecx
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + eax*8 - 8]
test eax, eax
jne 0x1005a5c2
mov eax, 0x100a3ee0
pop esi
ret
add eax, 0x10
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1005eac0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x1c]
push eax
push esi
call fcn.100644b0
push esi
call fcn.1005c020
mov ecx, dword [esp + 0x14]
push 0
push 0x70
push esi
push ecx
call fcn.1006b3a0
add esp, 0x1c
pop esi
ret
mov eax, dword [esp + 8]
xor ecx, ecx
mov cl, byte [eax + 4]
add ecx, 0xfffffffc
cmp ecx, 0x22
ja case.0x1005eae3.13
xor edx, edx
mov dl, byte [ecx + 0x1005ebac]
mov ecx, edx
mov edx, dword [esp + 4]
jmp dword [ecx*4 + 0x1005eb84]
mov dword [esp + 8], eax
jmp 0x10064590
xor ecx, ecx
push 0
mov cl, byte [eax + 6]
lea edx, [ecx*4 + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.1006b3a0
add esp, 0x10
ret
xor ecx, ecx
push 0
mov cl, byte [eax + 6]
lea edx, [ecx*8 + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.1006b3a0
add esp, 0x10
ret
mov dword [esp + 8], eax
jmp fcn.10064460
mov dword [esp + 8], eax
jmp 0x100629c0
mov dword [esp + 8], eax
jmp 0x1005bff0
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 4]
add ecx, 0x18
push 0
push ecx
push eax
push edx
call fcn.1006b3a0
add esp, 0x10
ret
mov ecx, dword [edx + 0xc]
push esi
mov esi, dword [ecx + 0x1c]
dec esi
mov dword [ecx + 0x1c], esi
pop esi
mov ecx, dword [eax + 0xc]
push 0
add ecx, 0x11
push ecx
push eax
push edx
call fcn.1006b3a0
add esp, 0x10
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov edx, dword [esi + 0x10]
cmp edx, 0x1008d708
je 0x100629f2
mov cl, byte [esi + 7]
mov eax, 1
shl eax, cl
push 0
lea eax, [eax + eax*2]
shl eax, 3
push eax
push edx
push edi
call fcn.1006b3a0
add esp, 0x10
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xc]
shl ecx, 3
push 0
push ecx
push edx
push edi
call fcn.1006b3a0
push 0
push 0x20
push esi
push edi
call fcn.1006b3a0
add esp, 0x20
pop edi
pop esi
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0xc]
shl eax, 2
push 0
push eax
push ecx
push edi
call fcn.1006b3a0
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x10]
shl edx, 2
push 0
push edx
push eax
push edi
call fcn.1006b3a0
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 8]
shl ecx, 3
push 0
push ecx
push edx
push edi
call fcn.1006b3a0
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x14]
shl eax, 2
push 0
push eax
push ecx
push edi
call fcn.1006b3a0
mov eax, dword [esi + 0x3c]
add esp, 0x40
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x18]
shl edx, 2
push 0
push edx
push eax
push edi
call fcn.1006b3a0
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x1c]
shl ecx, 3
push 0
push ecx
push edx
push edi
call fcn.1006b3a0
push 0
push 0x50
push esi
push edi
call fcn.1006b3a0
add esp, 0x30
pop edi
pop esi
ret
Function at 0x10063fe0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor eax, ecx
mov ecx, esi
shr ecx, 5
inc ecx
cmp esi, ecx
jb 0x1006401b
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [edi + esi - 1]
sub esi, ecx
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
cmp esi, ecx
jae 0x10063ffd
pop edi
pop ebx
pop esi
ret

Function at 0x1007546a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1007548a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004a8c1
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x100754ad
test byte [esp + 8], 2
je 0x100754ad
call fcn.1004a934
mov dword [eax], 0xd
call fcn.1004a93d
mov dword [eax], 5
jmp 0x10075486
xor eax, eax
ret

Function at 0x10078967
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1007899f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1007bcb3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1007bc8b
jmp 0x100789ab
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10079eed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10079f2f
call fcn.100814ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10079f2f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10079f26
xor eax, eax
jmp 0x10079f37
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10079f3d
pop edi
pop esi
pop ebx
ret 4

Function at 0x1007a766
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x1007a788
cmp dword [edi + 0x3c], 0
jne 0x1007a788
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.100814ab
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.1007a7b5
pop edi
pop esi
pop ebx
ret 8
Function at 0x680015f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x68003bf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x680059b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x68009900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x680307d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.6800a970
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.6800a970
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x20]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x6800e4ba
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
push 0x83
lea eax, [ebp - 0x87]
push 0
push eax
call fcn.6802f606
lea eax, [ebp - 0x84]
mov dword [ebp - 4], eax
mov al, byte [0x68045144]
inc byte [0x68045144]
push 4
push dword [ebp + 8]
mov byte [ebp - 0x77], al
lea eax, [ebp - 0x5d]
push eax
mov dword [ebp - 0x88], 0x39f
mov dword [ebp - 0x84], 0x1000000
mov dword [ebp - 0x80], 0xe018000
mov dword [ebp - 0x7c], 0xa00
mov byte [ebp - 0x5e], 4
call fcn.6802f5fa
push 0x53
push dword [ebp + 0xc]
lea eax, [ebp - 0x57]
push eax
mov byte [ebp - 0x58], 0x53
call fcn.6802f5fa
add esp, 0x24
pushal
lea esi, [ebp - 0x88]
movzx ecx, word [esi]
push ecx
mov ecx, dword [0x68054cc4]
mov ecx, dword [ecx]
call fcn.68013e11
mov ecx, dword [0x68054cc4]
mov ecx, dword [ecx]
push 0x80
mov ebx, dword [ebp - 4]
push ebx
call dword [0x68054ce0]
call dword [0x68054cd0]
popal
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6801bd80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x6801bda1
xor eax, eax
jmp 0x6801bf53
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x6801bdbf
xor eax, eax
jmp 0x6801bf53
push 4
push 0x2000
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x34]
push eax
call dword [0x680320f4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6801be09
push 4
push 0x2000
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x50]
push edx
push 0
call dword [0x680320f4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6801be09
xor eax, eax
jmp 0x6801bf53
push 0x14
push 0
call dword [0x680321bc]
push eax
call dword [0x680321c0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 0
push 4
push 0x1000
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x680320f4]
push 4
push 0x1000
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x680320f4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x54]
push eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.6802f5fa
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.6801bf60
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x1c], edx
je 0x6801bedf
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.6801c1b0
add esp, 8
mov edx, dword [ebp - 0x18]
push edx
call fcn.6801c290
add esp, 4
test eax, eax
jne 0x6801bef3
jmp 0x6801bf45
mov eax, dword [ebp - 0x18]
push eax
call fcn.6801c060
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
cmp dword [edx + 0x28], 0
je 0x6801bf40
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x14], edx
jne 0x6801bf1e
jmp 0x6801bf45
push 0
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6801bf36
jmp 0x6801bf45
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 1
mov eax, dword [ebp - 0x18]
jmp 0x6801bf53
mov edx, dword [ebp - 0x18]
push edx
call fcn.6801c540
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x6801bf60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x6801bf9f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x6801c050
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
jne 0x6801c004
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x6801c002
push 4
push 0x1000
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [0x680320f4]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.6802f606
add esp, 0xc
jmp 0x6801bf8d
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [0x680320f4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.6802f5fa
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
jmp 0x6801bf8d
mov esp, ebp
pop ebp
ret
Function at 0x6801c060
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x6801c096
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 4], edx
jge 0x6801c1a8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x40000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x80000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
je 0x6801c112
push 0x4000
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [0x68032138]
jmp 0x6801c084
mov eax, dword [ebp - 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + ecx*8 + 0x68054c58]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
je 0x6801c144
mov ecx, dword [ebp - 0x18]
or ecx, 0x200
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x6801c184
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x40
je 0x6801c16b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x20], edx
jmp 0x6801c184
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x80
je 0x6801c184
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jbe 0x6801c1a3
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [0x680320f0]
jmp 0x6801c084
mov esp, ebp
pop ebp
ret
Function at 0x680209c0
Capabilities:
Parse pe header

Disassembly:
push esi
push ecx
mov esi, dword fs:[0]
mov eax, esi
cmp byte [eax], 0xff
je 0x680209d4
mov eax, dword [eax]
jmp 0x680209cb
mov eax, dword [eax + 4]
and eax, 0xffff0000
cmp word [eax], 0x5a4d
jne 0x680209ef
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp word [ecx], 0x4550
je 0x680209f2
dec eax
jmp 0x680209d7
pop ecx
pop esi
ret