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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov esi, esp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], esp
mov dword [esi + 0xb0], 0xffffffff
mov dword [esi + 0xac], 0x4af7d0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xa8]
mov edx, dword fs:[0]
mov dword [esi + 0xa8], edx
mov dword fs:[0], ecx
lea ecx, [esi + 0x90]
lea edx, [esi + 0x20]
mov byte [esi + 7], 1
mov dword [esi + 0xb0], 0
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm0, qword [eax + 0x28]
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [eax]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x28], xmm1
call fcn.004a49c0
mov eax, dword [ebp + 8]
cmp dword [esi + 0x90], 0
je 0x4ae0fc
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x40]
mov edi, 0xffffffff
sub ecx, dword [esi + 0x38]
sar ecx, 3
test eax, eax
cmove ecx, eax
mov eax, dword [esi + 0x4c]
sub eax, dword [esi + 0x48]
sar eax, 3
test edx, edx
cmove eax, edx
mov edx, 8
add eax, ecx
cmovb eax, edi
inc eax
cmove eax, edi
mul edx
jo 0x4ae15e
mov edi, eax
test eax, eax
js 0x4ae169
mov eax, dword [esi + 0x9c]
mov dword [esi + 8], eax
mov ebx, dword [esi + 0x98]
push 8
push edi
call fcn.0043c290
add esp, 8
test eax, eax
je 0x4ae174
movsd xmm1, qword [esi + 0x40]
movsd xmm2, qword [esi + 0x38]
mov ecx, dword [esi + 8]
movsd xmm0, qword [esi + 0x48]
shr edi, 3
mov dword [esi + 0x10], eax
mov dword [eax], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 8], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 1
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [esi + 0x68], xmm2
movsd xmm2, qword [esi + 0x20]
mov dword [eax + 4], ecx
movsd qword [esi + 0x78], xmm0
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [esi + 0x50], xmm2
movsd qword [esi + 0x58], xmm1
jmp 0x4ae01b
push ecx
push edi
lea eax, [esi + 0x10]
push eax
call fcn.0056c2f0
add esp, 0xc
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x1c]
mov dword [eax + edi*8], edx
mov dword [eax + edi*8 + 4], ecx
inc edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x18], edi
lea ecx, [esi + 0x80]
lea edx, [esi + 0x50]
mov dword [esi + 0xb0], 2
call fcn.004a49c0
cmp dword [esi + 0x80], 1
mov edi, dword [esi + 8]
jne 0x4ae093
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x88]
cmp edi, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
jne 0x4ae00a
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x70]
sub ecx, dword [esi + 0x68]
sar ecx, 3
test eax, eax
cmove ecx, eax
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
sar eax, 3
test edx, edx
cmove eax, edx
add eax, ecx
mov ecx, 0xffffffff
cmovb eax, ecx
inc eax
je 0x4adff0
mov ecx, eax
jmp 0x4adff0
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4ae0b4
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x4ae0b4
shl ecx, 3
test ecx, ecx
je 0x4ae0b4
push 8
push ecx
push eax
call fcn.0043c2a0
add esp, 0xc
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4ae0d5
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4ae0d5
shl ecx, 3
test ecx, ecx
je 0x4ae0d5
push 8
push ecx
push eax
call fcn.0043c2a0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
mov dword [eax + 8], ecx
movsd qword [eax], xmm0
mov ecx, dword [esi + 0xa8]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esi + 0x30]
mov ecx, dword [0x5f027c]
test edx, edx
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [eax + 8], 0
je 0x4ae137
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4ae137
shl ecx, 3
test ecx, ecx
je 0x4ae137
push 8
push ecx
push edx
mov edi, eax
call fcn.0043c2a0
mov eax, edi
add esp, 0xc
mov edx, dword [esi + 0x40]
test edx, edx
je 0x4ae0e7
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4ae0e7
shl ecx, 3
test ecx, ecx
je 0x4ae0e7
push 8
push ecx
push edx
mov edi, eax
call fcn.0043c2a0
mov eax, edi
add esp, 0xc
jmp 0x4ae0e7
mov byte [esi + 7], 1
call fcn.004fec10
jmp 0x4ae172
mov byte [esi + 7], 1
call fcn.004fec10
ud2
push 8
push edi
call fcn.00570650
add esp, 8
ud2