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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [0x9eba88]
push esi
mov esi, dword [0x9ea1d4]
push edi
mov ebx, dword [ebp + 0x1fc]
mov edi, ecx
mov eax, dword [esi + 0xbe0]
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
call fcn.0070bb20
test ebx, ebx
mov dword [esp + 0x1c], eax
je case.0x6958a3.10
test esi, esi
je case.0x6958a3.10
test eax, eax
je case.0x6958a3.10
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [ebx + 0x78]
call fcn.006483a0
mov esi, dword [ebx + 0x7c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
cmp eax, esi
je 0x69571e
fild dword [ecx + 0x7c]
fmul dword [0x7e63a0]
fcomp dword [ecx + 0x80]
fnstsw ax
test ah, 0x41
je case.0x6958a3.10
mov eax, dword [ecx + 0x34]
test eax, eax
jge 0x6957fb
mov eax, dword [esi]
cmp eax, esi
mov dword [esp + 0x20], eax
je 0x695764
mov ebp, 3
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x34], 0xffffffff
jne 0x695753
cmp dword [eax + 0x5c], 1
jne 0x695753
cmp dword [eax + 0x8c], ebp
je case.0x6958a3.10
lea ecx, [esp + 0x20]
call fcn.00649660
mov eax, dword [esp + 0x20]
cmp eax, esi
jne 0x695738
lea edx, [esp + 0x3c]
lea esi, [edi + 4]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.006483a0
mov ebp, dword [edi + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x6957c1
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 0xc]
cmp ecx, edx
je case.0x6958a3.10
lea ecx, [esp + 0x14]
call fcn.00649660
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x695783
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push edx
fild dword [eax + 0x78]
fmul dword [0x7e64a8]
fstp dword [eax + 0x84]
lea eax, [esp + 0x30]
jmp 0x6957dd
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push edx
fild dword [eax + 0x78]
fmul dword [0x7e64a8]
fstp dword [eax + 0x84]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00647b10
mov ecx, dword [esp + 0x3c]
push 0
push ecx
mov ecx, ebx
call fcn.00646950
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
test ecx, ecx
je case.0x6958a3.10
mov ebx, dword [esp + 0x38]
push ecx
push ebx
mov ecx, edi
call fcn.00695f30
test al, al
jne 0x69584f
lea edx, [esp + 0x3c]
lea esi, [edi + 4]
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
call fcn.006483a0
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 8]
cmp eax, ecx
je case.0x6958a3.10
mov ecx, dword [eax + 0xc]
test ecx, ecx
je case.0x6958a3.10
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00647d50
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x310], 6
je case.0x6958a3.10
push 0
push ebx
mov ecx, ebp
call fcn.0070bb20
mov ecx, dword [esp + 0x18]
mov esi, eax
call fcn.0046cde0
fadd dword [0x7e5668]
test esi, esi
fstp dword [esp + 0x38]
je 0x69588e
mov ecx, esi
call fcn.0046cde0
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x5c]
dec ecx
cmp ecx, 0x1a
ja case.0x6958a3.10
xor edx, edx
mov dl, byte [ecx + 0x695c3c]
jmp dword [edx*4 + 0x695c14]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.00696520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
test esi, esi
jne 0x6958dc
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push eax
call fcn.00696520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ebx, dword [esp + 0x18]
push esi
mov ecx, ebx
call fcn.004804f0
test al, al
jne 0x695916
mov eax, dword [esp + 0x38]
lea ecx, [esi + 0x98]
push eax
mov eax, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x4c]
push edx
jmp 0x695b52
push esi
mov ecx, ebx
call fcn.004804f0
test al, al
je case.0x6958a3.10
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, edi
call fcn.00696520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [ebp + 0x64]
call fcn.0054a860
test eax, eax
mov dword [esp + 0x20], eax
jne 0x69595a
cmp ebx, 0xffffffff
jne 0x69595a
mov ebx, dword [esp + 0x10]
test esi, esi
mov dword [esp + 0x24], 0xffffffff
je 0x6959db
mov eax, dword [esi + 0x4c8]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x64]
push eax
call fcn.00549b80
test eax, eax
jne 0x69598c
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x4c8]
cmp eax, edx
jne 0x6959d7
mov eax, dword [esp + 0x38]
add esi, 0x98
push eax
mov edx, dword [esi]
sub esp, 0xc
mov ecx, esp
mov eax, dword [esi + 4]
mov dword [ecx], edx
mov edx, dword [esi + 8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
push eax
mov dword [ecx + 8], edx
mov ecx, edi
call fcn.006962b0
test al, al
je case.0x6958a3.10
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, edi
call fcn.00696520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esp + 0x20]
test eax, eax
je case.0x6958a3.10
mov dx, word [eax]
mov eax, dword [esp + 0x3c]
push edx
push eax
mov ecx, edi
call fcn.00696520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ebx, dword [0x9ea1d0]
test esi, esi
je case.0x6958a3.10
mov ecx, dword [esi + 0x4c8]
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ecx
push edx
push eax
lea ecx, [ebx + 0x28]
call fcn.00560760
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x2c]
cmp eax, ecx
je case.0x6958a3.10
mov eax, dword [eax + 0x10]
test eax, eax
je case.0x6958a3.10
cmp dword [eax + 0x310], 5
je case.0x6958a3.10
mov ecx, dword [esp + 0x38]
lea edx, [esi + 0x98]
push ecx
mov ecx, dword [edx]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [eax + 8], edx
mov eax, dword [esp + 0x4c]
push eax
call fcn.006962b0
test al, al
je case.0x6958a3.10
mov esi, dword [esi + 0x4c8]
mov ecx, dword [esp + 0x3c]
push esi
push ecx
mov ecx, edi
call fcn.00696520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov edx, dword [esp + 0x1c]
sub esp, 0xc
add edx, 0x98
mov ecx, esp
push eax
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, edi
call fcn.00696aa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
test esi, esi
je case.0x6958a3.10
mov eax, dword [esi + 0x310]
cmp eax, 4
je case.0x6958a3.10
cmp eax, 5
je case.0x6958a3.10
mov ecx, dword [esp + 0x18]
push esi
call fcn.004804f0
test al, al
je case.0x6958a3.10
mov eax, dword [esp + 0x38]
lea ecx, [esi + 0x98]
push eax
mov eax, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x4c]
push edx
jmp 0x695b52
test esi, esi
je case.0x6958a3.10
mov ecx, dword [esp + 0x38]
lea edx, [esi + 0x98]
push ecx
mov ebx, dword [edx]
sub esp, 0xc
mov ecx, esp
push eax
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov ecx, edi
call fcn.006962b0
test al, al
je case.0x6958a3.10
mov esi, dword [esi + 0x4c8]
mov eax, dword [esp + 0x3c]
push esi
push eax
mov ecx, edi
call fcn.00696520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x1c]
sub esp, 0xc
add ecx, 0x98
mov edx, esp
push eax
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov ecx, edi
call fcn.00696aa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
test esi, esi
je case.0x6958a3.10
mov edx, dword [esp + 0x38]
add esi, 0x98
push edx
mov ecx, esi
sub esp, 0xc
mov ebx, dword [ecx]
mov edx, esp
push eax
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, edi
call fcn.006962b0
test al, al
je case.0x6958a3.10
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esi + 8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, edi
mov dword [edx + 8], eax
call fcn.00696aa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8