Function at 0x438380
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
movzx eax, byte [ebx + 3]
push 8
push eax
push esi
call fcn.00415280
movzx eax, byte [ebx + 4]
push 8
push eax
push esi
call fcn.00415280
movzx eax, byte [ebx + 5]
push 8
push eax
push esi
call fcn.00415280
movzx eax, byte [ebx + 6]
push 8
push eax
push esi
call fcn.00415280
push dword [ebx + 8]
call fcn.0043e800
mov edi, eax
push 8
push edi
push esi
mov dword [ebp - 8], edi
call fcn.00415280
xor eax, eax
add esp, 0x40
mov dword [ebp - 4], eax
test edi, edi
je 0x4384a3
nop dword [eax]
push eax
push dword [ebx + 8]
call fcn.0043e8b0
mov edi, eax
push 0x10
lea ecx, [edi + 3]
push ecx
push esi
call fcn.00414f70
movzx ecx, byte [edi + 0x13]
push 8
push ecx
push esi
call fcn.00415280
xor eax, eax
cmp dword [edi + 0x1c], eax
push 1
sete al
push eax
push esi
call fcn.00415280
push 7
push 0
push esi
call fcn.00415280
mov ebx, dword [edi + 0x1c]
add esp, 0x38
test ebx, ebx
je 0x438466
cmp dword [ebx + 4], 0
je 0x438457
push dword [ebx]
push esi
call fcn.00439af0
push dword [ebx]
push dword [ebx + 4]
push esi
call fcn.00414f70
add esp, 0x14
jmp 0x438490
push 8
push 0
push esi
call fcn.00415280
add esp, 0xc
jmp 0x438490
movzx eax, byte [edi + 0x14]
push 8
push eax
push esi
call fcn.00415280
movzx eax, word [edi + 0x16]
push 0x10
push eax
push esi
call fcn.00415280
movzx eax, word [edi + 0x18]
push 0x10
push eax
push esi
call fcn.00415280
add esp, 0x24
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x4383f0
xor eax, eax
cmp dword [ebx + 0x14], eax
push 1
sete al
push eax
push esi
call fcn.00415280
push 7
push 0
push esi
call fcn.00415280
add esp, 0x18
cmp dword [ebx + 0x14], 0
je 0x43850a
movzx eax, word [ebx + 0x10]
push 0x10
push eax
push esi
call fcn.00415280
xor eax, eax
add esp, 0xc
xor edi, edi
cmp ax, word [ebx + 0x10]
jae 0x438661
mov eax, dword [ebx + 0x14]
push 0x10
movzx eax, word [eax + edi*2]
push eax
push esi
call fcn.00415280
movzx eax, word [ebx + 0x10]
inc edi
add esp, 0xc
cmp edi, eax
jb 0x4384e5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx + 0xc]
call fcn.0043e800
mov edi, eax
push 8
push edi
push esi
mov dword [ebp - 8], edi
call fcn.00415280
xor eax, eax
add esp, 0x10
mov dword [ebp - 4], eax
test edi, edi
je 0x438661
push eax
push dword [ebx + 0xc]
call fcn.0043e8b0
mov edi, eax
push 8
movzx ecx, byte [edi + 3]
push ecx
push esi
call fcn.00415280
movzx ecx, byte [edi + 4]
push 3
push ecx
push esi
call fcn.00415280
push 5
push 0
push esi
call fcn.00415280
movzx eax, byte [edi + 5]
push 8
push eax
push esi
call fcn.00415280
add esp, 0x38
cmp dword [edi + 8], 0
jne 0x43857f
cmp dword [edi + 0xc], 0
jne 0x43857f
xor eax, eax
jmp 0x438584
mov eax, 1
push 1
push eax
push esi
call fcn.00415280
push 7
push 0
push esi
call fcn.00415280
mov ecx, dword [edi + 8]
add esp, 0x18
test ecx, ecx
jne 0x4385aa
cmp dword [edi + 0xc], ecx
je 0x438651
xor eax, eax
test ecx, ecx
push 1
setne al
push eax
push esi
call fcn.00415280
xor eax, eax
cmp dword [edi + 0xc], eax
push 1
setne al
push eax
push esi
call fcn.00415280
push 6
push 0
push esi
call fcn.00415280
add esp, 0x24
cmp dword [edi + 8], 0
je 0x43861f
movzx eax, word [edi + 6]
push 0x10
push eax
push esi
call fcn.00415280
xor eax, eax
add esp, 0xc
xor ebx, ebx
cmp ax, word [edi + 6]
jae 0x43861c
nop dword [eax + eax]
mov eax, dword [edi + 8]
push 0x10
movzx eax, word [eax + ebx*2]
push eax
push esi
call fcn.00415280
movzx eax, word [edi + 6]
inc ebx
add esp, 0xc
cmp ebx, eax
jb 0x438600
mov ebx, dword [ebp + 0xc]
mov edi, dword [edi + 0xc]
test edi, edi
je 0x438651
cmp dword [edi + 4], 0
je 0x438644
push dword [edi]
push esi
call fcn.00439af0
push dword [edi]
push dword [edi + 4]
push esi
call fcn.00414f70
add esp, 0x14
jmp 0x438651
push 8
push 0
push esi
call fcn.00415280
add esp, 0xc
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x438530
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret