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

Disassembly:
sub esp, 0xdc
push ebx
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0x48]
xor ebx, ebx
cmp al, bl
push edi
jne 0x685770
mov ecx, dword [esi + 0xf4]
cmp ecx, ebx
je 0x68526e
mov eax, dword [ecx]
call dword [eax + 0x1c]
fstp dword [esi + 0x14c]
mov eax, dword [esi + 0x178]
add eax, 0x10
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
movsx ecx, word [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
fild dword [esp + 0x14]
fmul dword [0x890d60]
fstp dword [esp + 0x1c]
movsx edx, word [eax + 2]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x890d60]
fstp dword [esp + 0x20]
movsx eax, word [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x140]
cmp eax, 6
fild dword [esp + 0x14]
fmul dword [0x890d60]
fstp dword [esp + 0x24]
ja case.0x6852ef.1
movzx ecx, byte [eax + 0x68578c]
jmp dword [ecx*4 + 0x685780]
mov dword [esp + 0x18], 0x80
jmp case.0x6852ef.0
mov dword [esp + 0x18], 0x40
mov eax, dword [esi + 0xd8]
mov edx, dword [eax + 0x38]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.006e8f50
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 4]
add esp, 0x18
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 8]
push 0x92c5d8
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0xac], edx
call fcn.0067f0d0
mov ecx, dword [0x92c5e0]
mov ebp, dword [esi + 0x178]
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0x14], ecx
call fcn.00668650
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xac]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x94]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xe0], ecx
sub esp, 0xc
lea edx, [esp + 0xac]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x2c]
mov dword [esp + 0xe0], eax
mov eax, esp
mov dword [esp + 0xd0], 0x8a2fb4
mov byte [esp + 0xe4], 1
mov dword [esp + 0xe8], ebp
mov edi, 0xa6b47fac
mov dword [esp + 0xbc], edi
mov dword [eax], edx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xc0]
mov dword [eax + 8], edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00684bb0
push 0x9261b0
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.0067f0d0
mov eax, dword [0x9261b8]
mov dword [esp + 0x10], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00684bb0
push 0x92c598
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0067f0d0
mov ecx, dword [0x92c5a0]
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x14], ecx
call fcn.006687d0
mov ecx, dword [esp + 0x74]
sub esp, 0xc
lea eax, [esp + 0x80]
mov dword [esp + 0x88], eax
mov eax, esp
mov dword [esp + 0x84], edi
mov dword [eax], ecx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00684bb0
push 0x92c650
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.0067f0d0
mov edx, dword [0x92c658]
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x14], edx
call fcn.00668750
mov edx, dword [esp + 0x64]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x74], edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x78]
mov dword [eax + 8], edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00684bb0
push 0x92c610
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.0067f0d0
mov eax, dword [0x92c618]
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x14], eax
call fcn.00668850
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x88], edi
lea edx, [esp + 0x84]
mov dword [esp + 0x8c], edx
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x94]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00684bb0
push 0x92c588
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0067f0d0
mov edx, dword [0x92c590]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], edx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00684bb0
push 0x92c560
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.0067f0d0
mov eax, dword [0x92c568]
mov dword [esp + 0x10], eax
sub esp, 0x10
mov eax, esp
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x24]
mov dword [eax], ebx
mov dword [eax + 4], ebx
push edx
mov ecx, esi
mov dword [eax + 8], ebx
call fcn.00684bb0
push 0x92c5e8
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0067f0d0
mov ecx, dword [0x92c5f0]
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x14], ecx
call fcn.006685d0
mov ecx, dword [esp + 0x54]
sub esp, 0xc
lea eax, [esp + 0x60]
mov dword [esp + 0x68], eax
mov eax, esp
mov dword [esp + 0x64], edi
mov dword [eax], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00684bb0
push 0x92c5c8
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.0067f0d0
mov edx, dword [0x92c5d0]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], edx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00684bb0
push 0x926188
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.0067f0d0
mov eax, dword [0x926190]
mov dword [esp + 0x10], eax
sub esp, 0x10
mov eax, esp
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
mov dword [eax], ebx
mov dword [eax + 4], ebx
push edx
mov ecx, esi
mov dword [eax + 8], ebx
call fcn.00684bb0
mov eax, dword [0x92c5e0]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00684a80
mov edx, dword [0x9261b8]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.00684a80
mov ecx, dword [0x92c658]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
push edx
mov ecx, esi
call fcn.00684a80
mov eax, dword [0x92c5a0]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00684a80
mov edx, dword [0x92c618]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.00684a80
mov ecx, dword [0x92c5d0]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
push edx
mov ecx, esi
call fcn.00684a80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 8