Function at 0x593470
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov ebx, edx
mov dword [eax + 0xc], ebx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x59349f
cmp eax, 0
jne 0x59349f
push ebp
call fcn.005933e0
pop ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 1
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x6c52f8]
cmp eax, dword [ebp - 0x14]
je 0x5934cc
mov byte [ebp - 5], 0
jmp 0x5936e3
mov eax, dword [ebp - 4]
lea edx, [eax + 6]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 6]
cmp ax, word [0x6c52fc]
je 0x5934fb
mov byte [ebp - 5], 0
jmp 0x5936e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00492c48
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jbe 0x5936cc
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00492c70
mov dl, 1
mov eax, dword [0x474298]
call fcn.00406970
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x474298]
call fcn.00406970
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00493174
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00492c70
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004df548
mov eax, dword [ebp - 0xc]
call fcn.004937a0
push 0
push 0
mov eax, esi
call fcn.00492c70
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x14]
cmp edi, dword [ebx + 8]
jge 0x5935e5
mov edx, edi
mov eax, ebx
call fcn.00593c68
push edi
lea eax, [ebx + 0x20]
mov ecx, 1
mov edx, dword [0x59220c]
call fcn.0040ae7c
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
jbe 0x5936bb
dec eax
test eax, eax
jb 0x5936bb
inc eax
mov dword [ebp - 0x18], eax
mov edx, dword [0x591ab8]
mov eax, 0x14
call fcn.0040a650
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x1c]
add eax, 8
call fcn.004357b4
lea edx, [ebp - 0xd]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
movzx edx, byte [ebp - 0xd]
lea eax, [ebx + 0x10]
xor ecx, ecx
call fcn.00409274
lea eax, [ebx + 0x10]
call fcn.00408c74
mov edx, eax
movzx ecx, byte [ebp - 0xd]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, ebx
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 4]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add dword [ebx + 8], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 4]
call fcn.005936f0
mov dword [ebx + 0xc], eax
dec dword [ebp - 0x18]
jne 0x593617
mov eax, dword [ebp - 0xc]
call fcn.004069a0
mov eax, esi
call fcn.004069a0
jmp 0x5936dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x11], 0
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret