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

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
mov edx, dword [0x821950]
mov eax, dword [ebx]
push esi
push edi
mov edi, ecx
mov esi, dword [0x821954]
mov dword [esp + 0x1c], 0
mov ebp, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
add eax, ebp
mov ebp, dword [ebx + 4]
sub eax, edx
add ecx, ebp
mov dword [esp + 0x20], eax
sub ecx, esi
fild dword [esp + 0x20]
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x14]
push eax
lea edx, [edi + 0xde4]
fstp dword [esp + 0x18]
fild dword [esp + 0x28]
lea ecx, [esp + 0x58]
fstp dword [esp + 0x1c]
call fcn.0058e030
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
fld dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
call fcn.0076a6b0
fld dword [esp + 0x18]
mov esi, eax
call fcn.0076a6b0
push 0
push eax
push esi
lea ecx, [esp + 0x88]
call fcn.0041b630
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebx + 0xc]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x80]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x12], ax
mov eax, 0x88888889
imul ecx
add edx, ecx
mov eax, 0x88888889
sar edx, 3
mov ecx, edx
mov esi, dword [esp + 0x10]
shr ecx, 0x1f
mov dword [esp + 0x20], esi
add esi, 0xfffffffe
lea ebp, [edx + ecx + 0x11]
mov ecx, dword [ebx + 8]
imul ecx
add edx, ecx
mov dword [esp + 0x38], ebp
sar edx, 5
mov eax, edx
mov word [esp + 0x20], si
shr eax, 0x1f
lea ecx, [edx + eax + 4]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
test ebp, ebp
jle 0x69d35d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
inc ecx
mov word [esp + 0x30], ax
mov eax, ecx
mov dword [esp + 0x40], ecx
cdq
sub eax, edx
sar eax, 1
mov word [esp + 0x32], ax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x22]
mov word [esp + 0x2c], dx
mov edx, dword [esp + 0x32]
add eax, edx
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x10], edx
jle 0x69d355
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
mov ecx, 0x81a800
push eax
call fcn.00547df0
test al, al
je 0x69d334
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x81a800
call fcn.005453b0
mov esi, eax
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call fcn.00474eb0
mov ecx, dword [eax]
push 0
mov dword [esp + 0x48], ecx
push 0
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0xa0]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x4c]
mov dword [esp + 0x58], edx
push eax
mov edx, ebx
call fcn.0041fdf0
mov ecx, dword [eax]
push 0
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
movsx ecx, word [esp + 0x14]
mov ebp, dword [eax + 8]
mov dword [esp + 0x74], edx
shl ecx, 8
mov eax, dword [eax + 0xc]
add ecx, 0x80
mov dword [esp + 0x7c], eax
movsx eax, word [esp + 0x16]
shl eax, 8
add eax, 0x80
cdq
and edx, 0xff
add eax, edx
sar eax, 8
shl eax, 8
push eax
mov eax, ecx
cdq
and edx, 0xff
lea ecx, [esp + 0x68]
add eax, edx
sar eax, 8
shl eax, 8
push eax
call fcn.0041b630
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x64], eax
call fcn.00697ec0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
sub ecx, 0x1e
test eax, eax
mov dword [esp + 0x14], ecx
jle 0x69d334
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x69d334
test ebp, ebp
jle 0x69d334
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x69d334
mov eax, dword [esp + 0xb0]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00475280
inc word [esp + 0x10]
mov eax, dword [esp + 0x28]
dec word [esp + 0x12]
dec eax
mov dword [esp + 0x28], eax
jne 0x69d206
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
cmp ecx, ebp
jl 0x69d1b3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 8