Function at 0x10013724
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x6c64746e
mov edi, ecx
mov word [ebp - 0x20], 0x6c
push eax
mov dword [ebp - 0x74], edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov ecx, 0x5a4d
mov dword [ebp - 0xc], eax
cmp word [eax], cx
je 0x10013768
xor al, al
jmp 0x100139c7
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
je 0x1001377d
xor al, al
jmp 0x100139c6
movzx eax, word [esi + 0x14]
xor ecx, ecx
add eax, 0x18
mov dword [ebp - 0x70], ebx
add eax, esi
cmp cx, word [esi + 6]
jae 0x100137d4
mov edi, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x7865742e
push eax
push edi
mov word [ebp - 0x18], 0x74
call fcn.10026052
pop ecx
pop ecx
test eax, eax
jne 0x100137b9
test dword [edi + 0x24], 0x20000000
jne 0x100137cb
mov ecx, dword [ebp - 0x70]
add edi, 0x28
movzx eax, word [esi + 6]
inc ecx
mov dword [ebp - 0x70], ecx
cmp ecx, eax
jl 0x10013793
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0xc]
add esi, dword [ebp - 0xc]
cmp dword [edi + 0x10], 6
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
jne 0x1001387d
cmp dword [edi + 0x14], 1
jne 0x1001383d
push 0xd
push eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x89044889
mov ecx, esi
mov dword [ebp - 0x10], 0x9090a301
mov dword [ebp - 0xc], 0x76ff9090
mov byte [ebp - 8], 0x20
call fcn.10012f22
pop ecx
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x100139b8
mov eax, dword [ecx + esi + 0x11]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + esi + 0x16]
add eax, 0x1a
add eax, ecx
add eax, esi
mov dword [edi + 0x20], eax
jmp 0x100139b8
cmp dword [edi + 0x10], 6
jne 0x1001387d
cmp dword [edi + 0x14], 3
jne 0x1001387d
push 8
push eax
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x568bff33
mov ecx, esi
mov dword [ebp - 0xc], 0xe8cb8b20
call fcn.10012f22
pop ecx
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x100139b8
mov eax, dword [ecx + esi + 8]
add eax, 0xc
jmp 0x100139b1
cmp dword [edi + 0x10], 0xa
jne 0x100139b8
cmp dword [edi + 0x14], ebx
jne 0x100139b8
push 0xe
push eax
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0xfed4858b
mov ecx, esi
mov dword [ebp - 0x30], 0x708bffff
mov dword [ebp - 0x2c], 0x8bd68b50
mov word [ebp - 0x28], 0xe8cb
mov dword [ebp - 0x44], 0x8bf8458b
mov dword [ebp - 0x40], 0x50408bce
mov dword [ebp - 0x3c], 0x4589d08b
mov word [ebp - 0x38], 0xe8f0
mov dword [ebp - 0x58], 0xff90858b
mov dword [ebp - 0x54], 0x708bffff
mov dword [ebp - 0x50], 0x8bd68b50
mov dword [ebp - 0x4c], 0xffff908d
mov word [ebp - 0x48], 0xe8ff
mov dword [ebp - 0x14], 0x8bfc458b
mov dword [ebp - 0x10], 0x50708bcf
mov word [ebp - 0xc], 0xd68b
mov byte [ebp - 0xa], 0xe8
mov dword [ebp - 0x6c], 0xff14858b
mov dword [ebp - 0x68], 0x708bffff
mov dword [ebp - 0x64], 0x8bd68b50
mov dword [ebp - 0x60], 0xfffef88d
mov word [ebp - 0x5c], 0xe8ff
call fcn.10012f22
pop ecx
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x10013941
mov eax, dword [ecx + esi + 0xe]
add eax, 0x12
jmp 0x100139b1
push 0xe
push dword [ebp - 0x1c]
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.10012f22
pop ecx
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x10013938
push 0x12
push dword [ebp - 0x1c]
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.10012f22
pop ecx
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x100139aa
push 0xb
push dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.10012f22
pop ecx
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x10013992
mov eax, dword [ecx + esi + 0xb]
add eax, 0xf
jmp 0x100139b1
push 0x12
push dword [ebp - 0x1c]
lea edx, [ebp - 0x6c]
mov ecx, esi
call fcn.10012f22
pop ecx
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x100139b8
mov eax, dword [ecx + esi + 0x12]
add eax, 0x16
add eax, ecx
add eax, esi
mov dword [edi + 0x24], eax
cmp dword [edi + 0x20], ebx
jne 0x100139c2
cmp dword [edi + 0x24], ebx
je 0x100139c4
mov bl, 1
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10021e50
mov esp, ebp
pop ebp
ret