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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0x28]
push edi
mov byte [ebx + 0x7f], 0
call fcn.0065f760
mov eax, dword [ebx + 0x48]
test eax, eax
jle 0x6ae099
lea edi, [ebx + 0x38]
lea esi, [ebx + 0x34]
push edi
push esi
mov ecx, ebx
call fcn.006aeb10
cmp dword [esi], 0
jne 0x6addf6
mov edi, dword [edi]
test edi, edi
je 0x6ae0a0
mov dword [esi], edi
mov ecx, dword [esi]
lea edx, [esp + 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, eax
mov dword [esp + 0x24], SysReAllocString
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x10], ax
mov eax, dword [ecx + 4]
cdq
mov ecx, dword [ebx + 0x2c]
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x12], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [ecx + 0x78]
xor eax, eax
mov dword [esp + 0x34], ecx
test ecx, ecx
mov dword [esp + 0x28], eax
jle 0x6ae078
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0x6c]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x6ae063
mov al, byte [esi + 0x76]
test al, al
jne 0x6ae063
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x39c]
cmp dword [eax], 0
jne 0x6ae063
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov ecx, eax
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x14], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
mov ecx, dword [ebx + 0x34]
add eax, edx
sar eax, 8
mov word [esp + 0x16], ax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov eax, dword [ecx]
lea edx, [esp + 0x54]
push edx
call dword [eax + 0x48]
lea ecx, [esp + 0x60]
mov edi, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov edx, dword [eax]
mov ebp, dword [edi]
mov ecx, dword [eax + 4]
sub edx, ebp
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 4]
sub ecx, edx
mov edx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 8]
fild dword [esp + 0x40]
sub edx, ecx
sub esp, 8
mov dword [esp + 0x4c], edx
fild dword [esp + 0x4c]
fild dword [esp + 0x44]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov ebp, eax
mov eax, dword [ebx + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, 0x81a800
call fcn.0054b6e0
mov edx, dword [esi + 0x418]
mov edi, eax
inc edi
mov al, byte [edx + 0x1349]
imul edi, ebp
test al, al
je 0x6adf67
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, dword [esp + 0x24]
jge 0x6ae063
mov ecx, dword [ebx + 0x34]
lea edx, [esp + 0x6c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, eax
mov esi, dword [ebx + 0x54]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x18], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x1a], ax
mov eax, dword [esp + 0x18]
test esi, esi
mov dword [esp + 0x30], eax
je 0x6ae022
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x80]
mov ebp, dword [eax + 0x544]
test esi, esi
je 0x6ae018
mov al, byte [esi + 0x7d]
test al, al
je 0x6ae018
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x6ae018
mov eax, dword [0xa283a4]
test eax, eax
jne 0x6adff4
mov al, byte [esi + 0x76]
test al, al
jne 0x6ae018
mov al, byte [esi + 0x579]
test al, al
jne 0x6ae00a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, 2
jne 0x6ae018
cmp ebp, dword [esp + 0x1c]
jle 0x6ae018
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebp
mov esi, dword [esi + 0x4c8]
test esi, esi
jne 0x6adfc2
push 4
lea ecx, [esp + 0x14]
push 2
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004baf10
mov eax, dword [eax]
cmp ax, word [0xaa7b38]
mov dword [esp + 0x10], eax
jne 0x6ae05b
mov cx, word [esp + 0x12]
cmp cx, word [0xaa7b3a]
je 0x6ae063
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x6ade53
lea edx, [esp + 0x2c]
mov ecx, 0x81a800
push edx
call fcn.005453b0
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.006af6a0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x34], 0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret