Function at 0x434c40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x634
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, eax
push 0x618
lea eax, [esp + 0x2c]
push edi
push eax
mov dword [esp + 0x24], edi
mov dword [ebx], edi
call fcn.005d5de0
mov esi, dword [esp + 0x654]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x34], edi
call fcn.004b1c10
add esp, 0x18
cmp eax, edi
jne 0x434ca0
lea ecx, [esp + 0x1c]
push ecx
push esi
mov esi, dword [esp + 0x2c]
call fcn.004b1d60
mov edi, dword [esp + 0x24]
add esp, 8
cmp eax, 0x19
mov ebp, eax
jne 0x434cbb
lea eax, [ebp - 0xb]
mov dword [ebx], 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x634
ret
test eax, eax
jne 0x434ee2
cmp dword [esp + 0x20], 0x386
jne 0x434ebc
test edi, edi
je 0x434ebc
movzx eax, word [edi]
mov dword [esp + 0x28], eax
movzx edx, word [edi + 2]
mov dword [esp + 0x2c], edx
movzx ecx, word [edi + 4]
mov dword [esp + 0x30], ecx
movzx edx, word [edi + 6]
mov dword [esp + 0x34], edx
movzx ecx, word [edi + 8]
mov dword [esp + 0x38], ecx
movzx edx, word [edi + 0xa]
mov ecx, dword [esp + 0x64c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x650]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
lea esi, [edi + 0x10]
lea eax, [esp + 0x18]
add edi, edx
mov edx, dword [ecx + 4]
push eax
push edx
mov ecx, esi
lea eax, [esp + 0x48]
call fcn.0040ed40
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.0040e930
mov esi, eax
test esi, esi
je 0x434ecc
mov ecx, dword [esp + 0x650]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x14]
push eax
push edx
mov ecx, esi
lea eax, [esp + 0x248]
call fcn.0040ed40
add esp, 8
cmp dword [esp + 0x14], 0
je 0x434d7b
mov dword [esp + 0x18], 1
mov edx, edi
mov ecx, esi
call fcn.0040e930
test eax, eax
je 0x434ecc
mov edi, dword [esp + 0x650]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
push edx
lea eax, [esp + 0x448]
call fcn.0040ed40
add esp, 8
cmp dword [esp + 0x14], 0
je 0x434dbc
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x28]
cmp edx, 6
jge 0x434e0a
mov eax, dword [edx*4 + 0x62f28c]
test eax, eax
je 0x434e0a
cmp dword [esp + 0x30], eax
jbe 0x434df5
mov ecx, dword [esp + 0x38]
mov eax, 1
cmp ecx, eax
mov dword [ebx], ecx
je 0x434dee
test edx, edx
je 0x434dee
lea ebp, [eax + 0xd]
jmp 0x434e1b
mov ebp, 0x26
jmp 0x434e1b
cmp dword [esp + 0x2c], eax
jbe 0x434e17
mov eax, dword [esp + 0x3c]
mov dword [ebx], eax
mov eax, 2
xor ebp, ebp
jmp 0x434e1b
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [ebx], ecx
lea ebp, [eax + 0xe]
jmp 0x434e1b
mov eax, dword [esp + 0x24]
cmp dword [ebx], 6
jl 0x434e2b
mov dword [ebx], 1
mov ebp, 0x26
mov ebx, dword [ebx]
add ebx, 0xffffffff
cmp ebx, 3
ja 0x434e70
shl eax, 9
lea esi, [esp + eax + 0x40]
mov ecx, esi
call fcn.004c7180
test eax, eax
je 0x434e70
push 0
lea ebx, [eax + eax + 2]
call fcn.0043ace0
mov edx, eax
mov eax, dword [esp + 0x658]
add esp, 4
test edx, edx
mov dword [eax], edx
jne 0x434e69
lea ebp, [edx + 0x64]
jmp 0x434e74
mov eax, esi
call fcn.004c7230
test ebp, ebp
je 0x434ea8
xor eax, eax
cmp dword [esp + 0x20], 0x387
je 0x434ea0
mov eax, dword [esp + 0x648]
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
call fcn.004b1f50
test eax, eax
je 0x434e76
mov ebp, eax
jmp 0x434ed1
test eax, eax
je 0x434ed1
mov ebp, eax
jmp 0x434ed1
mov ecx, dword [esp + 0x64c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x2c]
mov dword [edi], edx
mov dword [edi + 8], eax
jmp 0x434ed1
mov eax, 0x27
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x634
ret
mov ebp, 0x27
cmp dword [esp + 0x18], 0
je 0x434ee2
cmp ebp, 9
mov eax, 9
jl 0x434ee4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x634
ret