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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, ecx
cmp byte [ebx + 0x130], 0
push esi
push edi
mov dword [esp + 0x18], ebx
je 0x4adee8
mov eax, dword [0x6b9dcc]
call fcn.00550ef0
test al, al
je 0x4adee8
fld dword [ebx + 0x228]
fsub qword [0x686ee8]
fld qword [0x687030]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4adf07
fstp st(1)
jmp 0x4adf09
fld dword [ebx + 0x228]
fadd qword [0x686ee8]
fld qword [0x665830]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4adf07
fstp st(1)
jmp 0x4adf09
fstp st(0)
fstp dword [ebx + 0x228]
call fcn.00426a00
test eax, eax
je 0x4adf24
fld dword [ebx + 0x228]
fstp dword [eax + 0x8d0]
mov ecx, ebx
call fcn.004cdc90
cmp byte [ebx + 0x219], 0
je 0x4ae1a0
cmp dword [ebx + 0x10], 0
je 0x4ae1a0
lea eax, [ebx + 0x200]
mov dword [esp + 0x14], eax
lea esi, [ebx + 0x230]
mov dword [esp + 0x1c], 2
lea ebx, [ebx]
mov eax, dword [esi]
test eax, eax
je 0x4adf7d
mov ecx, dword [esi + 4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4adf82
call fcn.0062492b
mov eax, dword [esi]
test eax, eax
mov edx, dword [eax]
mov dword [esp + 0x20], edx
je 0x4adfa8
mov ecx, dword [esi + 4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 9
ja 0x4adfad
call fcn.0062492b
mov eax, dword [esi]
mov edi, dword [eax + 0x6c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x30]
mov edx, dword [esp + 0x28]
mov ebx, dword [edi + 0x38]
add ebx, dword [edi + 0x30]
add edx, eax
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0x34]
mov ecx, dword [esp + 0x2c]
add ecx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x3c]
add ecx, dword [edi + 0x34]
sub ebx, eax
mov eax, dword [esi]
sub ecx, edx
test eax, eax
mov dword [esp + 0x3c], ecx
je 0x4ae012
mov edx, dword [esi + 4]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
ja 0x4ae01b
call fcn.0062492b
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
test eax, eax
mov edx, dword [eax + 0x78]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x24], edx
je 0x4ae045
mov edx, dword [esi + 4]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
ja 0x4ae04e
call fcn.0062492b
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
test eax, eax
mov edx, dword [eax + 0x78]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x20], edx
je 0x4ae078
mov edx, dword [esi + 4]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
ja 0x4ae081
call fcn.0062492b
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
test eax, eax
mov edx, dword [eax + 0x78]
mov edi, dword [edx + 0x34]
je 0x4ae0a7
mov edx, dword [esi + 4]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
ja 0x4ae0b0
call fcn.0062492b
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov eax, dword [edx + 0x30]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0xe4]
mov eax, dword [eax + 0xe0]
add edi, 0xfffffff6
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x30]
cmp eax, edi
jl 0x4ae0f2
add ebx, edi
cmp eax, ebx
jge 0x4ae0f2
mov edi, dword [esp + 0x34]
cmp edx, edi
jl 0x4ae0f2
add ecx, edi
cmp edx, ecx
jl 0x4ae13d
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
sub edx, dword [esp + 0x2c]
cmp eax, ecx
jl 0x4ae11e
mov edi, dword [esp + 0x20]
add ecx, edi
cmp eax, ecx
jge 0x4ae11e
mov eax, dword [esp + 0x44]
cmp edx, eax
jl 0x4ae11e
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp edx, eax
jl 0x4ae13d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4ae131
add eax, 0xffffffff
mov dword [ecx + 0xc], eax
jmp 0x4ae154
fld dword [ecx]
fadd qword [0x686e98]
fstp dword [ecx]
jmp 0x4ae154
mov eax, dword [esp + 0x14]
fld dword [eax]
mov dword [eax + 0xc], 0x14
fsub qword [0x686e20]
mov ecx, eax
fstp dword [eax]
fld dword [ecx]
fstp dword [esp + 0x24]
fldz
fld dword [esp + 0x24]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x4ae17a
fstp st(1)
fld1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4ae17a
fstp st(1)
jmp 0x4ae17c
fstp st(0)
mov ebx, dword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
add ecx, 4
fstp dword [ecx - 4]
add esi, 0x10
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jne 0x4adf60
mov eax, dword [ebx + 0x21c]
test eax, eax
jle 0x4ae244
add eax, 1
mov esi, 0xb
cmp dword [ebx + 0x220], esi
mov dword [ebx + 0x21c], eax
sete cl
cmp dword [ebx + 0x224], esi
mov byte [esp + 0x13], cl
sete byte [esp + 0x12]
cmp eax, 0x32
jge 0x4ae21b
cdq
mov edi, 0x14
idiv edi
test edx, edx
jne 0x4ae21b
and eax, 0x80000001
jns 0x4ae1f1
dec eax
or eax, 0xfffffffe
inc eax
je 0x4ae254
test cl, cl
je 0x4ae201
push 0xffffffffffffffff
push 0
push ebx
call fcn.004ace40
cmp byte [esp + 0x12], 0
je 0x4ae212
push 0xffffffffffffffff
push 1
push ebx
call fcn.004ace40
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
mov ecx, ebx
call edx
cmp dword [ebx + 0x21c], 0x78
jl 0x4ae244
mov eax, dword [ebx + 0x88]
mov edx, dword [eax + 8]
lea ecx, [ebx + 0x88]
push 0x3e8
mov dword [ebx + 0x21c], 0xffffffff
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4ae278
mov edx, dword [ebx + 0x184]
mov eax, dword [edx + 0x720]
mov eax, dword [eax + 0x210]
call fcn.00426880
push eax
push 0
push ebx
call fcn.004ace40
cmp byte [esp + 0x12], 0
je 0x4ae29f
mov ecx, dword [ebx + 0x184]
mov edx, dword [ecx + 0x720]
mov eax, dword [edx + 0x214]
call fcn.00426880
push eax
push 1
push ebx
call fcn.004ace40
sub esi, 1
jne 0x4ae250
jmp 0x4ae212