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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x529465
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push esi
push edi
mov ebx, 0x534048
xor edi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x170], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov esi, 0x53ae08
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, 0x5a57a8
mov byte [esp + 0x17c], 2
call fcn.004cd4b0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
lea edx, [eax + ecx]
test edx, edx
jne 0x4adf2a
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x44]
mov byte [esp + 0x170], 3
cmp eax, edi
je 0x4adee0
push eax
call fcn.0051aee4
add esp, 4
mov esi, 0x53138c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x170], 4
cmp eax, edi
je 0x4adf06
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x170], 5
cmp eax, edi
je 0x4ae376
jmp 0x4ae36d
mov dword [esp + 0x60], 0x53ae74
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
xor esi, esi
cmp eax, edi
mov byte [esp + 0x170], 6
jle 0x4adf6f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + esi*4]
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.004a6b80
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x4adf50
lea ecx, [esp + 0xa8]
call fcn.004b9ad0
lea edx, [esp + 0x60]
lea ecx, [esp + 0xa8]
push edx
mov byte [esp + 0x174], 7
call fcn.004ba8e0
lea ecx, [esp + 0x88]
call fcn.00487f90
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x88]
push eax
push ecx
mov byte [esp + 0x178], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00504c40
fld qword [0x531cf0]
fcomp qword [esp + 0xa0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x4adff6
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x88]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00504c40
fld qword [esp + 0x14]
fcomp qword [esp + 0xa0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x4ae033
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x88]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00504c40
fld qword [esp + 0x14]
fcomp qword [esp + 0xa0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x4ae070
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], 0
cmp eax, edi
mov dword [esp + 0x58], 0x40690000
jle 0x4ae0fe
mov edx, dword [esp + 0x1c]
mov esi, eax
mov ecx, dword [edx]
fld qword [ecx + 0x180]
fcomp qword [0x536b98]
fnstsw ax
test ah, 0x41
jne 0x4ae0ab
fld qword [ecx + 0x180]
jmp 0x4ae0b1
fld qword [0x536b98]
fcom qword [esp + 0x54]
fnstsw ax
test ah, 1
je 0x4ae0c2
fstp qword [esp + 0x54]
jmp 0x4ae0c4
fstp st(0)
fld qword [ecx + 0x188]
fcomp qword [0x536b98]
fnstsw ax
test ah, 0x41
jne 0x4ae0df
fld qword [ecx + 0x188]
jmp 0x4ae0e5
fld qword [0x536b98]
fcom qword [esp + 0x54]
fnstsw ax
test ah, 1
je 0x4ae0f6
fstp qword [esp + 0x54]
jmp 0x4ae0f8
fstp st(0)
add edx, 4
dec esi
jne 0x4ae08e
lea eax, [esp + 0x2c]
push eax
call fcn.00499250
fstp st(0)
add esp, 4
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
mov byte [esp + 0x170], 9
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
lea edx, [esi + ecx]
lea ecx, [esp + 0x1c]
push edx
call fcn.004ecdd0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp edx, edi
lea eax, [eax + esi*4]
je 0x4ae16a
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x4ae159
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x7c]
call fcn.004ecdd0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
cmp edx, edi
je 0x4ae193
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x4ae186
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x34]
call fcn.004ecdd0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push 0x40200000
lea eax, [esp + 0x80]
push edi
push eax
push ecx
push edx
lea ecx, [esp + 0xc4]
call fcn.004baa30
mov ebx, eax
cmp ebx, edi
je 0x4ae26c
mov eax, dword [esp + 0x20]
lea esi, [eax - 1]
cmp esi, edi
jl 0x4ae264
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
call dword [edx + 0x20]
test eax, eax
je 0x4ae261
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
call fcn.00498b90
fld qword [eax + 0x10]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
je 0x4ae26c
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov edi, dword [edx + 8]
mov ebx, dword [ecx + esi*4]
mov ecx, edx
lea eax, [edi + 1]
push eax
call fcn.004ecdd0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [edx + edi*4], ebx
mov eax, dword [esp + 0x20]
sub eax, esi
dec eax
je 0x4ae254
shl eax, 2
push eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + esi*4 + 4]
lea edx, [eax + esi*4]
push ecx
push edx
nop
call fcn.0061f2f2
add esp, 0xc
mov eax, dword [esp + 0x20]
xor ebx, ebx
dec eax
xor edi, edi
mov dword [esp + 0x20], eax
dec esi
jns 0x4ae1e4
cmp ebx, edi
je 0x4ae12f
mov eax, dword [ebp + 0xc]
push edi
push eax
call fcn.00499e60
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.00499e60
lea edx, [esp + 0xc0]
push 1
push edx
call fcn.00499e60
add esp, 0x18
call fcn.004ce9c0
mov ebx, 0x534048
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x78]
mov byte [esp + 0x170], 0xa
cmp eax, edi
je 0x4ae2ba
push eax
call fcn.0051aee4
add esp, 4
mov esi, 0x53138c
lea ecx, [esp + 0x88]
mov dword [esp + 0x74], esi
mov byte [esp + 0x170], 7
call fcn.00519440
lea ecx, [esp + 0xa8]
mov byte [esp + 0x170], 6
call fcn.004b9ba0
mov dword [esp + 0x60], 0x53ae74
mov eax, dword [esp + 0x64]
mov byte [esp + 0x170], 0xb
cmp eax, edi
je 0x4ae30c
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x40], 0x53ae08
mov eax, dword [esp + 0x44]
mov byte [esp + 0x170], 0xc
cmp eax, edi
je 0x4ae331
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x170], 0xd
cmp eax, edi
je 0x4ae352
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x170], 0xe
cmp eax, edi
je 0x4ae376
push eax
call fcn.0051aee4
add esp, 4
mov ecx, dword [esp + 0x168]
pop edi
fld qword [0x531cf0]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret