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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x68]
test al, 1
push edi
jne 0x501a0c
push 0x544f4c
push esi
call fcn.004ff9c0
add esp, 8
mov edi, dword [ebp + 0x10]
cmp edi, 0x20
je 0x501a72
push 0x544f30
push esi
call fcn.004ffa60
push edi
push esi
call fcn.00501290
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 4
je 0x501a2f
push 0x544f18
push esi
call fcn.004ffa60
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.00501290
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 2
je 0x501a40
push 0x544efc
push esi
call fcn.004ffa60
jmp 0x5019e1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5019e4
mov eax, dword [eax + 8]
test al, 4
je 0x5019e4
test ah, 8
jne 0x5019e4
push 0x544ee4
push esi
call fcn.004ffa60
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.00501290
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea edx, [esp + 0x10]
push edx
push esi
call fcn.004f9000
push 4
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004f7880
mov eax, dword [esp + 0x24]
movzx edi, al
movzx ecx, ah
mov ax, word [esp + 0x26]
shl edi, 8
add edi, ecx
movzx edx, al
shl edi, 8
add edi, edx
push 4
lea ecx, [esp + 0x28]
movzx eax, ah
push ecx
shl edi, 8
push esi
add edi, eax
call fcn.004f9000
push 4
lea edx, [esp + 0x34]
push edx
push esi
call fcn.004f7880
mov ecx, dword [esp + 0x3c]
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
mov cx, word [esp + 0x3e]
shl eax, 8
movzx edx, cl
add eax, edx
movzx ecx, ch
shl eax, 8
add esp, 0x30
add eax, ecx
cmp edi, 0x13880
ja 0x501e41
cmp eax, 0x13880
ja 0x501e41
lea edx, [eax + edi]
cmp edx, 0x186a0
ja 0x501e41
mov dword [esp + 0x20], eax
push 4
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x30], edi
call fcn.00500230
lea ecx, [esp + 0x18]
push ecx
call fcn.00500200
push 4
lea edx, [esp + 0x20]
push edx
push esi
mov edi, eax
call fcn.00500230
lea eax, [esp + 0x28]
push eax
call fcn.00500200
add esp, 0x20
cmp edi, 0x13880
ja 0x501e24
cmp eax, 0x13880
ja 0x501e24
lea ecx, [eax + edi]
cmp ecx, 0x186a0
ja 0x501e24
push 4
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
call fcn.00500230
lea eax, [esp + 0x18]
push eax
call fcn.00500200
push 4
lea ecx, [esp + 0x20]
push ecx
push esi
mov edi, eax
call fcn.00500230
lea edx, [esp + 0x28]
push edx
call fcn.00500200
add esp, 0x20
cmp edi, 0x13880
ja 0x501e07
cmp eax, 0x13880
ja 0x501e07
lea ecx, [eax + edi]
cmp ecx, 0x186a0
ja 0x501e07
push 4
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
call fcn.00500230
lea eax, [esp + 0x18]
push eax
call fcn.00500200
push 4
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
push esi
mov dword [esp + 0x44], edi
call fcn.00500230
lea edx, [esp + 0x28]
push edx
call fcn.00500200
add esp, 0x20
cmp edi, 0x13880
mov ebx, eax
mov dword [esp + 0x2c], ebx
ja 0x501dea
cmp ebx, 0x13880
ja 0x501dea
lea eax, [ebx + edi]
cmp eax, 0x186a0
ja 0x501dea
fild dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
test ch, 8
fmul dword [0x544ce4]
fild dword [esp + 0x20]
fmul dword [0x544ce4]
fild dword [esp + 0x1c]
fmul dword [0x544ce4]
fild dword [esp + 0x18]
fmul dword [0x544ce4]
fild dword [esp + 0x14]
fmul dword [0x544ce4]
fild dword [esp + 0x10]
fmul dword [0x544ce4]
fild dword [esp + 0x28]
fmul dword [0x544ce4]
fild dword [esp + 0x2c]
fmul dword [0x544ce4]
fstp dword [esp + 0x2c]
je 0x501d7b
mov eax, dword [esp + 0x24]
fstp st(0)
fstp st(0)
add eax, 0xffff85da
fstp st(0)
cdq
fstp st(0)
xor eax, edx
fstp st(0)
sub eax, edx
cmp eax, 0x3e8
fstp st(0)
fstp st(0)
jg 0x501d5b
mov eax, dword [esp + 0x20]
add eax, 0xffff7f7c
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x501d5b
mov eax, dword [esp + 0x1c]
add eax, 0xffff0600
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x501d5b
mov eax, dword [esp + 0x18]
add eax, 0xffff7f18
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x501d5b
mov eax, dword [esp + 0x14]
add eax, 0xffff8ad0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x501d5b
mov eax, dword [esp + 0x10]
add eax, 0xffff15a0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x501d5b
lea eax, [edi - 0x3a98]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x501d5b
lea eax, [ebx - 0x1770]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jle 0x501d69
push 0x544eac
push esi
call fcn.004ffa60
add esp, 8
push 0
push esi
call fcn.00501290
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [esp + 0x2c]
sub esp, 0x40
fstp qword [esp + 0x38]
fstp qword [esp + 0x30]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
push eax
push esi
call fcn.004fe4d0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push ebx
push edi
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push esi
call fcn.004fe790
add esp, 0x70
push 0
push esi
call fcn.00501290
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x544e94
push esi
call fcn.004ffa60
push 0
push esi
call fcn.00501290
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x544e78
push esi
call fcn.004ffa60
push 8
push esi
call fcn.00501290
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x544e60
push esi
call fcn.004ffa60
push 0x10
push esi
call fcn.00501290
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x544e44
push esi
call fcn.004ffa60
push 0x18
push esi
call fcn.00501290
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret