Function at 0x438ec0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x28], 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 6]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 2]
test edx, edx
je 0x438f7f
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 0x10]
add ecx, dword [edx + 0x18]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0x80
jae 0x438f3b
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
mov dl, byte [ebp - 0x20]
mov byte [ecx], dl
mov dword [ebp - 0x44], 1
jmp 0x438f53
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
push eax
call fcn.00434c00
add esp, 0xc
mov dword [ebp - 0x44], eax
movzx ecx, byte [ebp - 0x44]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
push edx
call fcn.00434c00
add esp, 0xc
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x438fd5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x20], 0x80
jae 0x438fb3
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
mov al, byte [ebp - 0x20]
mov byte [edx], al
mov dword [ebp - 0x48], 1
jmp 0x438fcb
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
push ecx
call fcn.00434c00
add esp, 0xc
mov dword [ebp - 0x48], eax
movzx edx, byte [ebp - 0x48]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xa]
cmp dword [ebp - 0x20], ecx
jg 0x43900d
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 4
jge 0x438ff7
mov dword [ebp - 0x18], 4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
jmp 0x439066
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov ecx, dword [edx + 0x24]
sub ecx, 4
xor edx, edx
div ecx
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0xa]
cmp dword [ebp - 0x18], eax
jle 0x439045
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x20], 0
jle 0x439220
cmp dword [ebp - 0x24], 0
jne 0x43919e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x11]
test edx, edx
je 0x4390c7
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00421ef0
add esp, 8
cmp eax, dword [ebp - 0x28]
je 0x439094
mov ecx, dword [ebp - 8]
mov eax, dword [0x4b2c00]
xor edx, edx
div dword [ecx + 0x20]
add eax, 1
cmp dword [ebp - 0x28], eax
je 0x439094
push 0
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00423980
add esp, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x11]
test ecx, ecx
je 0x439133
cmp dword [ebp - 0xc], 0
jne 0x439133
xor edx, edx
cmp dword [ebp - 0x3c], 0
setne dl
add edx, 3
mov byte [ebp - 0x3d], dl
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
movzx edx, byte [ebp - 0x3d]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00422780
add esp, 0x14
cmp dword [ebp - 0xc], 0
je 0x439133
mov edx, dword [ebp - 0x14]
push edx
call fcn.00421920
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x43914d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00421920
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x43922e
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00419bb0
add esp, 8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00421920
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x34], eax
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00419bb0
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
add eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
sub edx, 4
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x24]
jle 0x4391b2
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], 0
jle 0x4391dc
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jle 0x4391c6
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00493210
add esp, 0xc
jmp 0x4391ee
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00493180
add esp, 0xc
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
jmp 0x43906f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00421920
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret