Function at 0x100320e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [edi]
mov ecx, dword [eax]
push ebx
movzx ebx, byte [edi + 0x18]
not ebx
and ebx, 1
push ebp
mov ebp, dword [esp + 0x20]
inc dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
mov edx, dword [edi + 4]
mov dword [esp + 8], ecx
add ecx, ebx
add ecx, dword [esp + 0x2c]
cmp dword [esp + 0x30], 0
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
je 0x10032130
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0xc]
sub eax, ebx
mov dword [esp + 0x24], eax
jmp 0x1003213e
lea edx, [eax + 1]
add eax, ecx
mov dword [ebp + 0x48], eax
mov dword [esp + 0x24], edx
mov eax, edx
mov edx, dword [edi]
push eax
push ebp
mov al, 1
call fcn.10019f30
add esp, 8
test ebx, ebx
je 0x10032167
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [edi + 8]
push 0x4a
call fcn.10011470
add esp, 4
cmp dword [esp + 0x34], 0
jne 0x1003218c
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0x2c]
push edx
add eax, ebx
push ebp
call fcn.10012ed0
add esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x2c]
add eax, ecx
push eax
push 0x31
call fcn.100113f0
add esp, 0x10
cmp dword [esp + 0x10], 0
jle 0x100322dd
mov eax, dword [ebp + 0x48]
mov edx, dword [edi + 4]
lea ecx, [eax + 1]
add edx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
mov eax, ecx
mov dword [ebp + 0x48], edx
sub eax, dword [edi + 4]
add eax, ebx
mov dword [esp + 0xc], eax
test ebx, ebx
je 0x100321ea
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, 0x2e
jmp 0x100321f2
mov eax, dword [edi + 8]
mov ecx, 0x3b
call fcn.10011460
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push edx
push eax
push 0x2a
call fcn.100113f0
mov eax, dword [edi + 0x14]
add esp, 0x10
mov ecx, esi
call fcn.10007a10
mov ecx, dword [ebp]
cmp byte [ecx + 0x41], 0
mov dword [esp + 0x1c], eax
jne 0x10032344
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov ebx, dword [eax + 0x10]
add edx, ecx
mov dword [eax + 8], edx
movzx edx, word [ebx + 6]
mov eax, dword [ebx + 0x10]
push edx
push 0
push eax
call sub.msvcrt.dll_memset
push 0xfffffffffffffffa
push ebx
push esi
or eax, 0xffffffff
call fcn.10011740
mov edx, dword [esp + 0x28]
movzx ecx, word [ebx + 8]
mov eax, dword [edi]
push edx
push eax
dec ecx
push ebp
call fcn.1002c0f0
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x10], eax
mov eax, esi
call fcn.10007940
mov ebx, eax
lea eax, [ebx + 1]
push eax
push 0
push eax
push 0x2b
call fcn.100113f0
mov eax, esi
call fcn.10011490
mov dword [edi + 0x10], eax
inc dword [ebp + 0x48]
mov ecx, dword [ebp + 0x48]
mov eax, dword [edi + 0x10]
push 0xf
mov dword [edi + 0xc], ecx
call fcn.10011470
mov eax, dword [edi + 8]
mov ecx, 0x78
call fcn.10011460
mov edx, dword [esp + 0x6c]
push edx
call fcn.100079d0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x54]
push ebp
call fcn.10012ed0
add esp, 0x44
push ebx
call fcn.100079d0
add esp, 4
mov cl, byte [edi + 0x18]
not cl
movzx eax, cl
mov ecx, dword [edi + 8]
and eax, 1
or eax, 0x6e
push eax
mov eax, dword [esp + 0x1c]
call fcn.10011470
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
add esp, 4
test eax, eax
je 0x10032344
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x10032310
lea eax, [ecx + 1]
push 0xffffffffffffffff
push 0
push eax
push 0x8c
call fcn.100113f0
mov ebx, eax
mov eax, dword [edi + 8]
mov ecx, 0x6a
call fcn.10011460
mov eax, dword [edi + 8]
mov ecx, 0x62
call fcn.10011460
push ebx
call fcn.100079d0
add esp, 0x14
pop esi
pop ebp
pop ebx
add esp, 0x14
ret