Function at 0x519e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x776e1e
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 + 0x1c], ebx
jne 0x519ecc
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
push edi
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.00519c50
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 + 0x60], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x80], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x20], edx
mov edx, eax
mov dword [esp + 0x24], eax
mov eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x30], eax
mov eax, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x128]
add eax, 2
mov edx, 4
jmp 0x519f70
movzx esi, byte [eax + 1]
mov dword [esp + 0x18], esi
movzx esi, byte [eax]
fild dword [esp + 0x18]
mov dword [esp + 0x18], esi
fmul dword [0x784548]
movzx esi, byte [eax - 1]
fild dword [esp + 0x18]
mov dword [esp + 0x18], esi
fmul dword [0x784548]
movzx esi, byte [eax - 2]
fild dword [esp + 0x18]
mov dword [esp + 0x18], esi
fmul dword [0x784548]
add eax, 4
fild dword [esp + 0x18]
add ecx, 0x10
dec edx
fmul dword [0x784548]
fstp dword [ecx - 0x18]
fstp dword [ecx - 0x14]
fstp dword [ecx - 0x10]
fstp dword [ecx - 0xc]
jne 0x519f70
lea ecx, [esp + 0x60]
push ecx
lea esi, [ebx + 0x20]
lea edx, [esp + 0x64]
push esi
push edx
call fcn.0043ca20
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x80]
push esi
push ecx
call fcn.0043ca20
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x9c]
push esi
push eax
call fcn.0043ca20
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0xb8]
push esi
push edx
call fcn.0043ca20
mov al, byte [edi + 0x50]
add esp, 0x30
test al, 1
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, ebx
push edi
je 0x51a060
call fcn.0050abb0
mov dword [esp + 0x18], eax
jmp 0x51a069
call fcn.00505200
mov dword [esp + 0x18], eax
test eax, eax
je 0x51a248
jbe 0x51a0e3
lea esi, [esp + 0x1a4]
lea edi, [esp + 0xe2]
mov ebx, eax
jmp 0x51a090
fld dword [esi - 4]
fmul dword [0x784544]
call fcn.0075bc00
fld dword [esi]
fmul dword [0x784544]
mov byte [edi - 2], al
call fcn.0075bc00
fld dword [esi + 4]
fmul dword [0x784544]
mov byte [edi - 1], al
call fcn.0075bc00
fld dword [esi + 8]
fmul dword [0x784544]
mov byte [edi], al
call fcn.0075bc00
mov byte [edi + 1], al
add esi, 0x10
add edi, 4
dec ebx
jne 0x51a090
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add eax, 0xfffffffe
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], eax
jbe 0x51a248
add ebx, 0x18
lea edi, [esp + 0x78]
jmp 0x51a100
mov ecx, dword [0x838480]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x2c]
je 0x51a119
call fcn.0043ce40
mov dword [esp + 0x18], eax
jmp 0x51a14a
mov eax, dword [0x838484]
test eax, eax
jne 0x51a13f
push eax
push str.FERenderEPolySlotPoolOverflow
push 0x200
push 0xa0
call fcn.00440e40
add esp, 0x10
mov dword [0x838484], eax
mov ecx, eax
call fcn.00440d90
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x2ac], 0
je 0x51a167
lea ecx, [eax + 0x10]
call fcn.005baef0
mov eax, dword [esp + 0x18]
jmp 0x51a169
xor eax, eax
mov dword [eax + 0x90], 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 + 0x64]
fld dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
fxch st(1)
fstp dword [eax + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x50], edx
fstp dword [eax + 0x18]
mov edx, dword [esp + 0xe0]
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + esi*8 + 0x28]
mov dword [eax + 0x70], edx
fld dword [edi - 4]
fld dword [edi]
mov edx, dword [esp + esi*8 + 0x2c]
fld dword [edi - 8]
inc esi
fstp dword [eax + 0x20]
fxch st(1)
add edi, 0x10
fstp dword [eax + 0x24]
mov dword [esp + 0x2ac], 0xffffffff
fstp dword [eax + 0x28]
mov dword [eax + 0x58], ecx
mov ecx, dword [esp + esi*4 + 0xe0]
mov dword [eax + 0x5c], edx
mov edx, dword [esp + esi*8 + 0x28]
mov dword [eax + 0x74], ecx
fld dword [edi - 4]
fld dword [edi]
mov ecx, dword [esp + esi*8 + 0x2c]
fld dword [edi - 8]
fstp dword [eax + 0x30]
fxch st(1)
fstp dword [eax + 0x34]
fstp dword [eax + 0x38]
mov dword [eax + 0x64], ecx
mov ecx, dword [esp + esi*4 + 0xe4]
mov dword [eax + 0x60], edx
mov dword [eax + 0x78], 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]
fstp dword [eax + 0x48]
mov edx, dword [eax + 0x60]
mov dword [eax + 0x68], edx
mov edx, dword [eax + 0x64]
mov dword [eax + 0x6c], edx
mov dword [eax + 0x7c], ecx
mov byte [eax + 0x81], 1
cmp esi, dword [esp + 0x1c]
jb 0x51a100
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30