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

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
push ebp
push esi
mov ebp, dword [ebx]
mov esi, ecx
mov edx, dword [0x821950]
push edi
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov edi, dword [0x821954]
add eax, ebp
mov ebp, dword [ebx + 4]
sub eax, edx
add ecx, ebp
xor ebp, ebp
sub ecx, edi
push ebp
mov dword [esp + 0x1c], ecx
push ecx
fild dword [esp + 0x20]
mov dword [esp + 0x1c], eax
fstp dword [esp]
fild dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
fstp dword [esp]
call fcn.00437510
lea eax, [esp + 0x34]
lea edx, [esi + 0xde4]
push eax
lea ecx, [esp + 0x5c]
call fcn.0058e030
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
fld dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
call fcn.0076a6b0
fld dword [esp + 0x38]
mov edi, eax
call fcn.0076a6b0
push ebp
push eax
push edi
lea ecx, [esp + 0x58]
call fcn.0041b630
cmp dword [esp + 0x50], ebp
jge 0x69cdbe
mov dword [esp + 0x50], ebp
cmp dword [esp + 0x4c], ebp
jge 0x69cdc8
mov dword [esp + 0x4c], ebp
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x81a800
call fcn.00545340
mov ecx, dword [eax + 0x24]
mov edi, dword [ebx + 0xc]
mov eax, 0x88888889
mov dword [esp + 0x1c], ecx
imul edi
add edx, edi
mov edi, dword [ebx + 8]
sar edx, 3
mov eax, edx
add ecx, 0xfffffffe
shr eax, 0x1f
mov word [esp + 0x1c], cx
mov ecx, dword [esp + 0x1c]
lea ebp, [edx + eax + 0x11]
mov eax, 0x88888889
imul edi
add edx, edi
mov dword [esp + 0x40], ebp
sar edx, 5
mov eax, edx
mov dword [esp + 0x10], ecx
shr eax, 0x1f
lea edi, [edx + eax + 4]
mov eax, dword [0xb0de30]
test eax, eax
mov dword [esp + 0x44], edi
je 0x69d07a
xor ecx, ecx
test ebp, ebp
jle 0x69d07a
mov ebp, 0x3c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
inc ecx
mov word [esp + 0x2c], ax
mov eax, ecx
mov dword [esp + 0x48], ecx
cdq
sub eax, edx
sar eax, 1
mov word [esp + 0x2e], ax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x1e]
mov word [esp + 0x28], dx
mov edx, dword [esp + 0x2e]
add eax, edx
mov word [esp + 0x2a], ax
mov edx, dword [esp + 0x28]
test edi, edi
mov dword [esp + 0x10], edx
jle 0x69d070
mov dword [esp + 0x24], edi
lea eax, [esp + 0x10]
mov ecx, 0x81a800
push eax
call fcn.00547df0
test al, al
je 0x69d04f
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x81a800
call fcn.005453b0
mov edi, eax
push 0
movsx eax, word [esp + 0x16]
movsx ecx, word [esp + 0x14]
shl eax, 8
add eax, 0x80
cdq
and edx, 0xff
add eax, edx
sar eax, 8
shl ecx, 8
shl eax, 8
add ecx, 0x80
push eax
mov eax, ecx
lea ecx, [esp + 0x7c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
shl eax, 8
push eax
call fcn.0041b630
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x58]
lea eax, [esp + 0x34]
mov dword [esp + 0x60], ecx
push edx
push eax
mov ecx, esi
call fcn.00697c90
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x64]
mov dword [esp + 0x68], ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], eax
call fcn.006a1d50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub eax, 0x1e
push 0
mov dword [esp + 0x18], eax
mov dword [esp + 0xa4], eax
mov eax, dword [0x821954]
push 0
add ecx, eax
push ebx
mov dword [esp + 0xb0], ecx
lea edx, [esp + 0xac]
lea ecx, [esp + 0xbc]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], 0x1e
call fcn.0041fdf0
mov edx, dword [eax]
push 0
mov dword [esp + 0x84], edx
push 0
mov ecx, dword [eax + 4]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x88]
mov edx, dword [eax + 8]
push ecx
mov dword [esp + 0x94], edx
mov edx, 0x821950
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x98], eax
call fcn.0041fdf0
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x90], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x94], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x98], eax
mov ecx, dword [edx + 0xc]
test eax, eax
mov dword [esp + 0x9c], ecx
jle 0x69d04f
test ecx, ecx
jle 0x69d04f
mov eax, dword [0x821950]
mov edx, dword [esp + 0x14]
mov ecx, dword [0x821954]
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
add ecx, edx
lea eax, [esp + 0x90]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x6c]
push eax
push ecx
mov ecx, edi
call fcn.00475120
inc word [esp + 0x10]
mov eax, dword [esp + 0x24]
dec word [esp + 0x12]
dec eax
mov dword [esp + 0x24], eax
jne 0x69ce91
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x40]
jl 0x69ce42
mov ecx, ebx
call fcn.0041f5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 4