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

Disassembly:
push 0xffffffffffffffff
push 0x72dbc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x13], 0
call fcn.0047e1e0
xor ebp, ebp
lea ecx, [esi + 0xa0]
mov dword [esp + 0x50], ebp
call fcn.00496fa0
mov ebx, dword [esp + 0x58]
mov edi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
cmp word [edi], 0xffff
je 0x517ddf
cmp byte [edi + 4], 1
jne 0x517ddf
push 0x7ded64
lea ecx, [esp + 0x28]
call fcn.006ed100
mov eax, dword [esi + 0xb8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x517bcb
mov eax, dword [eax + 0x2c]
push eax
lea ecx, [esp + 0x28]
call fcn.006fbfc0
movsx edx, word [edi]
mov ecx, dword [0x7c67e0]
mov ecx, dword [ecx]
push edx
call fcn.004ba590
mov dword [esp + 0x58], eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x517bf2
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x517e1e
mov ax, word [edi]
cmp ax, 0xc
je 0x517c05
cmp ax, 0xd
je 0x517c05
xor edi, edi
jmp 0x517c0a
mov edi, 1
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x28]
lea ecx, [eax + 4]
call fcn.004ee8b0
cmp eax, 0x544e4f43
jg 0x517c48
je 0x517c2f
cmp eax, 0x41455243
je 0x517c8c
cmp eax, 0x524f4f44
jne 0x517c4f
test edi, edi
je 0x517cd3
mov ecx, dword [ebx + 0x30]
push ebp
push ecx
mov ecx, esi
call fcn.00516d90
jmp 0x517cc9
cmp eax, 0x5f43504e
je 0x517c8c
mov ecx, dword [esp + 0x58]
push 0
push ebp
mov dword [esi + 0xb4], 7
call fcn.004a9ee0
push eax
push 0
push 0
sub esp, 0xc
lea edx, [ebx + 8]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0040a7e0
push 0x3f800000
push esi
call fcn.00515d60
add esp, 0x28
jmp 0x517cd3
mov eax, dword [ebx + 0x30]
push ebp
push eax
mov ecx, esi
call fcn.00516d90
test al, al
mov ecx, dword [ebx + 0x30]
jne 0x517cae
call fcn.004e5750
push eax
mov ecx, esi
call fcn.00519900
jmp 0x517cc9
call fcn.004e5750
mov ecx, dword [0x7c67dc]
mov edi, eax
call fcn.0040ff20
cmp edi, eax
jne 0x517cc9
mov byte [esp + 0x13], 1
mov dword [esi + 0xb4], 5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
test eax, eax
jle 0x517ddb
mov ecx, dword [esp + 0x58]
push 0
push ebp
lea edi, [ebx + 8]
call fcn.004a9ef0
push eax
push 0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x78], esp
push edi
call fcn.0040a7e0
mov edx, dword [esp + 0x3c]
fild dword [edx + 8]
push ecx
fadd st(0), st(0)
fstp dword [esp]
push esi
call fcn.00515d60
add esp, 0x28
lea ecx, [esp + 0x34]
call fcn.0047e6f0
mov eax, dword [esp + 0x14]
fild dword [eax + 8]
mov ecx, dword [0x7c67dc]
mov edx, dword [ecx + 0x5c]
mov ecx, dword [edx + 0x24]
fmul dword [0x74aa64]
lea eax, [esp + 0x34]
push eax
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
push edx
push edi
call fcn.005702b0
lea ecx, [esp + 0x34]
call fcn.0047e710
mov edi, eax
test edi, edi
je 0x517dd1
mov eax, dword [edi + 8]
mov ebp, dword [eax + 0x14]
cmp ebp, dword [ebx + 0x30]
je 0x517dbe
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x517d79
cmp ebp, eax
je 0x517dbe
mov eax, dword [esp + 0x18]
push eax
push ebp
mov ecx, esi
call fcn.00516d90
test al, al
jne 0x517da1
mov eax, dword [edi + 8]
push eax
mov ecx, esi
call fcn.00519900
push edi
lea ecx, [esp + 0x38]
call fcn.0047e610
jmp 0x517dbe
mov ecx, ebp
call fcn.004e5750
mov ecx, dword [0x7c67dc]
mov edi, eax
call fcn.0040ff20
cmp edi, eax
jne 0x517dbe
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x34]
call fcn.0047e720
mov edi, eax
test edi, edi
jne 0x517d60
mov ebp, dword [esp + 0x18]
mov dword [esi + 0xb4], 5
mov edi, dword [esp + 0x14]
inc ebp
add edi, 0x18
cmp ebp, 8
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
jl 0x517b8f
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call fcn.0047e280
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 4
lea ecx, [esp + 0x34]
mov dword [esi + 0xb4], 7
mov dword [esp + 0x50], 0xffffffff
call fcn.0047e280
xor al, al
jmp 0x517e09