Function at 0x591460
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x87299e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push ebx
push esi
push edi
mov edi, dword [ebp + 0x30]
test edi, edi
mov ebx, ecx
mov dword [esp + 0x18], ebx
jne 0x5914db
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00582660
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xc0], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xd0], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd8], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x60], edx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x68], ecx
mov edx, eax
mov dword [esp + 0x64], eax
mov eax, ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x70], eax
mov eax, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x2c]
movzx ecx, byte [eax]
mov dword [esp + 0x14], ecx
movzx ecx, byte [eax + 2]
fild dword [esp + 0x14]
mov dword [esp + 0x78], edx
fmul dword [0x899dd0]
movzx edx, byte [eax + 1]
mov dword [esp + 0x14], edx
movzx edx, byte [eax + 3]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul dword [0x899dd0]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [0x899dd0]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fild dword [esp + 0x14]
mov dword [esp + 0x128], ecx
movzx ecx, byte [eax + 4]
mov dword [esp + 0x14], ecx
fmul dword [0x899dd0]
movzx ecx, byte [eax + 6]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fxch st(1)
mov dword [esp + 0x12c], edx
movzx edx, byte [eax + 5]
fstp dword [esp + 0x120]
fstp dword [esp + 0x124]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
movzx edx, byte [eax + 7]
fmul dword [0x899dd0]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul dword [0x899dd0]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [0x899dd0]
fstp dword [esp + 0x28]
fild dword [esp + 0x14]
fmul dword [0x899dd0]
fstp dword [esp + 0x2c]
fxch st(1)
fstp dword [esp + 0x130]
fstp dword [esp + 0x134]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x138], ecx
movzx ecx, byte [eax + 8]
mov dword [esp + 0x14], ecx
movzx ecx, byte [eax + 0xa]
fild dword [esp + 0x14]
mov dword [esp + 0x13c], edx
fmul dword [0x899dd0]
movzx edx, byte [eax + 9]
mov dword [esp + 0x14], edx
movzx edx, byte [eax + 0xb]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul dword [0x899dd0]
lea esi, [ebx + 0x30]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [0x899dd0]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fild dword [esp + 0x14]
mov dword [esp + 0x148], ecx
movzx ecx, byte [eax + 0xf]
mov dword [esp + 0x14], ecx
fmul dword [0x899dd0]
movzx ecx, byte [eax + 0xd]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fxch st(1)
mov dword [esp + 0x14c], edx
movzx edx, byte [eax + 0xe]
fstp dword [esp + 0x140]
fstp dword [esp + 0x144]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
movzx edx, byte [eax + 0xc]
fmul dword [0x899dd0]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0xa0]
push eax
fmul dword [0x899dd0]
mov ecx, eax
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
push esi
push ecx
fmul dword [0x899dd0]
fild dword [esp + 0x20]
fmul dword [0x899dd0]
fstp dword [esp + 0x15c]
fstp dword [esp + 0x160]
fstp dword [esp + 0x164]
fstp dword [esp + 0x168]
call fcn.0045ed20
lea edx, [esp + 0xbc]
push edx
mov eax, edx
push esi
push eax
call fcn.0045ed20
lea ecx, [esp + 0xd8]
push ecx
mov edx, ecx
push esi
push edx
call fcn.0045ed20
lea eax, [esp + 0xf4]
push eax
mov ecx, eax
push esi
push ecx
call fcn.0045ed20
mov al, byte [edi + 0x50]
add esp, 0x30
lea edx, [esp + 0x1a0]
push edx
lea ecx, [esp + 0x224]
lea edx, [esp + 0x124]
test al, 1
lea eax, [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x70]
lea ecx, [esp + 0xb0]
push eax
push ecx
mov ecx, ebx
push edi
je 0x5917c7
call fcn.00584800
mov dword [esp + 0x14], eax
jmp 0x5917d0
call fcn.00582d20
mov dword [esp + 0x14], eax
test eax, eax
je 0x5919e2
jbe 0x591843
lea esi, [esp + 0x1a4]
lea edi, [esp + 0x22]
mov ebx, eax
jmp 0x5917f0
fld dword [esi - 4]
fmul dword [0x899dd8]
call fcn.007c4b80
fld dword [esi]
fmul dword [0x899dd8]
mov byte [edi - 2], al
call fcn.007c4b80
fld dword [esi + 4]
fmul dword [0x899dd8]
mov byte [edi - 1], al
call fcn.007c4b80
fld dword [esi + 8]
fmul dword [0x899dd8]
mov byte [edi], al
call fcn.007c4b80
mov byte [edi + 1], al
add esi, 0x10
add edi, 4
dec ebx
jne 0x5917f0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor esi, esi
add eax, 0xfffffffe
mov dword [esp + 0x1c], eax
je 0x5919e2
add ebx, 0x18
lea edi, [esp + 0xb8]
lea esp, [esp]
mov ecx, dword [0x91cfa0]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ecx + 0x2c]
je 0x591879
call fcn.0045f2c0
mov dword [esp + 0x14], eax
jmp 0x5918b8
mov eax, dword [0x91cfa4]
test eax, eax
jne 0x5918a9
push 0
push str.FERenderEPolySlotPoolOverflow
push 0x200
push 0xc0
call fcn.004662e0
mov dword [0x91cfa4], eax
mov ecx, dword [eax + 0x14]
add esp, 0x10
and ecx, 0xfffffffb
mov dword [eax + 0x14], ecx
mov ecx, dword [0x91cfa4]
call fcn.00465f70
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x2ac], 0
je 0x5918df
lea ecx, [eax + 0x10]
call fcn.006c0a30
mov eax, dword [esp + 0x14]
mov dword [eax + 0xb4], 0
jmp 0x5918e1
xor eax, eax
mov dword [eax + 0xb0], 0
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ebx + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], ebx
fld dword [esp + 0xa4]
fld dword [esp + 0xa8]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
fxch st(1)
inc edx
mov dword [ecx + 0x20], edx
mov ecx, dword [esp + 0xa0]
fstp dword [eax + 0x14]
mov edx, dword [esp + 0x60]
mov dword [eax + 0x50], edx
fstp dword [eax + 0x18]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x90], edx
mov edx, dword [esp + esi*8 + 0x68]
mov dword [eax + 0x54], ecx
fld dword [edi - 4]
fld dword [edi]
mov ecx, dword [edi - 8]
mov dword [eax + 0x20], ecx
fxch st(1)
fstp dword [eax + 0x24]
mov ecx, dword [esp + esi*8 + 0x6c]
inc esi
fstp dword [eax + 0x28]
mov dword [eax + 0x58], edx
mov edx, dword [esp + esi*4 + 0x20]
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x94], edx
fld dword [edi + 0xc]
fld dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov edx, dword [esp + esi*8 + 0x68]
fxch st(1)
fstp dword [eax + 0x34]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + esi*8 + 0x6c]
fstp dword [eax + 0x38]
mov dword [eax + 0x64], ecx
mov ecx, dword [esp + esi*4 + 0x24]
mov dword [eax + 0x60], edx
mov dword [eax + 0x98], ecx
fld dword [eax + 0x34]
fld dword [eax + 0x38]
mov edx, dword [eax + 0x30]
mov dword [eax + 0x40], edx
fxch st(1)
fstp dword [eax + 0x44]
add edi, 0x10
mov dword [esp + 0x2ac], 0xffffffff
fstp dword [eax + 0x48]
mov edx, dword [eax + 0x64]
fld dword [eax + 0x60]
mov dword [eax + 0x6c], edx
fst dword [eax + 0x68]
mov dword [eax + 0x9c], ecx
fstp dword [eax + 0x70]
mov byte [eax + 0xa1], 1
mov byte [eax + 0xa0], 1
cmp esi, dword [esp + 0x1c]
jb 0x591860
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30