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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
push 0x40
pop ecx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], eax
movzx eax, word [ebx]
mov dword [esp + 0x14], esi
cmp ax, cx
jle 0x4aab88
push ecx
push 0x4fc0fc
push esi
call fcn.004d3239
add esp, 0xc
jmp 0x4aaf95
mov ecx, dword [esi]
cwde
shl eax, 6
add eax, 0x27
mov dword [esp + 0x3c], ecx
and eax, 0xfffffff8
mov dword [esp + 0x18], eax
lea edx, [eax + 0x264]
call fcn.004d4b79
mov edx, dword [esp + 0x3c]
mov edi, eax
mov dword [esp + 0x38], edi
cmp byte [edx + 0x1e], 0
jne 0x4aaf88
movsx ecx, word [ebx]
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
mov dword [edi + 8], ebx
call fcn.004c857f
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, edi
mov word [edi + 4], cx
push 0x104
mov dword [esp + 0x2c], eax
mov dword [edi + 0x1c], eax
add eax, 0x160
push esi
push eax
mov dword [esp + 0x3c], eax
call fcn.00438880
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.004ae018
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x14]
call fcn.004bdd3c
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
push 0x45
call fcn.004ade94
pop ecx
cmp dword [ebp + 8], esi
je 0x4aac5b
cmp word [ebx], si
je 0x4aac48
mov ecx, dword [ebp + 8]
push 3
pop edx
call fcn.004bf7f0
test eax, eax
je 0x4aac5b
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
push 8
push dword [edi + 0x14]
call fcn.004bd6b0
pop ecx
pop ecx
xor eax, eax
cmp ax, word [ebx]
jge 0x4aacc9
lea edx, [ebx + 0x14]
mov edi, esi
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x30]
mov dword [edx + ecx*4 + 4], eax
mov eax, edx
mov edx, dword [esp + 0x10]
inc dword [eax]
mov eax, dword [edx]
test eax, eax
je 0x4aacb6
test byte [eax + 0x22], 0x10
je 0x4aacb6
xor ecx, ecx
lea eax, [esi + edi]
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x28]
cmovae edx, ecx
or dword [eax + 8], ecx
or dword [eax + 0xc], edx
mov edx, dword [esp + 0x10]
movsx eax, word [ebx]
inc edi
add edx, 0x38
mov dword [esp + 0x10], edx
cmp edi, eax
jl 0x4aac6b
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.004adb19
mov edx, dword [esp + 0x3c]
cmp byte [edx + 0x1e], 0
jne 0x4aaf88
or edx, 0xffffffff
mov dword [esp + 0x2c], esi
lea ecx, [edi + 0x20]
mov dword [esp + 0x44], edx
xor eax, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
cmp ax, word [ebx]
jge 0x4aafa5
xorps xmm0, xmm0
xor eax, eax
movlpd qword [esp + 0x68], xmm0
mov ecx, edx
movlpd qword [esp + 0x70], xmm0
inc eax
movsd xmm0, qword [0x4f3888]
mov dword [esp + 0x10], ecx
movsd qword [esp + 0x78], xmm0
mov dword [esp + 0x18], eax
jmp 0x4aad3f
mov ecx, dword [esp + 0x10]
test ecx, ecx
jns 0x4aaeda
test eax, eax
je 0x4aad66
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
jmp 0x4aad76
mov eax, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x2c]
mov edx, ecx
imul eax, ecx, 0x38
mov dword [esp + 0x50], edx
add eax, 8
add eax, ebx
mov dword [esp + 0x60], eax
movsx eax, word [ebx]
cmp ecx, eax
jge 0x4aaec9
mov eax, ecx
shl eax, 6
add eax, 0x5c
add eax, edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov al, byte [edi + 0x15]
and al, 0xa
mov byte [esp + 0x27], al
cmp edx, ecx
je 0x4aadbe
test al, al
jne 0x4aaec5
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x30]
call fcn.004ade5d
and eax, dword [esp + 0x44]
and edx, dword [esp + 0x48]
or eax, edx
jne 0x4aadf1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
cmp edx, ecx
lea eax, [ecx + 1]
cmovne eax, ecx
mov ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x4aaea9
cmp dword [esp + 0x40], 0
jne 0x4aae03
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4aae03
mov ecx, dword [eax]
jmp 0x4aae05
mov ecx, esi
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0x90]
je 0x4aae36
push dword [esp + 0x5c]
push eax
push ecx
push dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x68]
push edi
call fcn.004ac612
add esp, 0x18
jmp 0x4aae4d
push eax
push ecx
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x64]
push edi
call fcn.004ac077
add esp, 0x14
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
and ecx, dword [esp + 0x44]
and eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
or ecx, eax
mov ecx, dword [esp + 0x2c]
jne 0x4aaea2
cmp edx, ecx
je 0x4aae84
movsd xmm0, qword [esp + 0x78]
comisd xmm0, xmmword [esp + 0xa0]
jbe 0x4aaea2
push 0xa
pop ecx
lea esi, [esp + 0x90]
mov dword [esp + 0x10], edx
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x60]
xor esi, esi
mov ecx, dword [esp + 0x2c]
cmp byte [esp + 0x27], 0
jne 0x4aaec5
movsx eax, word [ebx]
inc edx
add dword [esp + 0x5c], 0x40
add edi, 0x38
mov dword [esp + 0x50], edx
mov dword [esp + 0x60], edi
cmp edx, eax
jl 0x4aada9
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
sub eax, 1
mov dword [esp + 0x18], eax
jns 0x4aad3b
mov eax, dword [esp + 0x68]
test eax, 0x1000000
je 0x4aaeea
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x68]
and dword [esp + 0x4c], eax
mov edi, edx
and eax, 0xf0000
mov dword [esp + 0x18], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
je 0x4aaf15
mov eax, dword [edi + 0x44]
mov dword [edx + 0x14], eax
inc dword [edi + 0x44]
jmp 0x4aaf1b
or ecx, 0xffffffff
mov dword [edx + 0x14], ecx
imul esi, dword [esp + 0x10], 0x38
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + ebx + 0x20]
call fcn.004ade5d
mov ecx, dword [esp + 0x1c]
not eax
and dword [esp + 0x44], eax
not edx
mov eax, dword [esp + 0x10]
and dword [esp + 0x48], edx
mov byte [ecx + 0x28], al
mov eax, dword [esi + ebx + 0x3c]
test eax, eax
je 0x4aaf53
cmp dword [esp + 0x18], 0
je 0x4aaf78
mov edx, dword [esp + 0x40]
add ecx, 0x40
movsx eax, word [ebx]
inc edx
mov edi, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], ecx
cmp edx, eax
jge 0x4aaf9e
or edx, 0xffffffff
jmp 0x4aad0f
push dword [eax]
push 0x4fc0e4
push edi
call fcn.004d3239
add esp, 0xc
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
call fcn.004ab1b8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
or edx, 0xffffffff
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x40], esi
jne 0x4aaf88
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x1e], 0
mov eax, dword [esp + 0x14]
jne 0x4aaf88
and dword [esp + 0x4c], 0x4000000
je 0x4aafd9
cmp dword [ebp + 0xc], 0
mov ecx, dword [esp + 0x20]
je 0x4aafd9
mov edi, dword [ebp + 0xc]
mov dword [edi], esi
mov edi, dword [esp + 0x38]
test byte [ebp + 0x10], 4
je 0x4aaff0
cmp dword [esp + 0x4c], 0
je 0x4aaff0
mov byte [edi + 6], 1
and dword [ecx], 0xff7fffff
mov ecx, eax
call fcn.004b9c15
xor eax, eax
mov dword [esp + 0x40], esi
cmp ax, word [ebx]
jge 0x4ab163
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + 0x28]
imul eax, eax, 0x38
mov dword [esp + 0x10], eax
mov eax, dword [eax + ebx + 0x14]
mov dword [esp + 0x18], eax
mov edx, dword [eax + 0x40]
call fcn.004b43e3
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test byte [ecx + 0x22], 2
jne 0x4ab14a
cmp dword [ecx + 0x1c], esi
jne 0x4ab14a
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
test edx, 0x8000000
je 0x4ab084
mov edx, ecx
mov ecx, dword [esp + 0x3c]
call fcn.004aeb53
mov edx, dword [esp + 0x10]
mov esi, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
push eax
push eax
push dword [edx + ebx + 0x20]
push 0x7c
pop edx
call fcn.004c863a
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff6
jmp 0x4ab0ee
test edx, 0x800000
jne 0x4ab0f6
test byte [ebp + 0x10], 0x10
jne 0x4ab0f6
mov edx, dword [esp + 0x10]
xor eax, eax
cmp byte [edi + 6], al
setne al
mov edx, dword [edx + ebx + 0x20]
add eax, 0x26
push eax
push ecx
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
call fcn.004b78ee
add esp, 0xc
cmp byte [edi + 6], 0
jne 0x4ab0f6
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xc], 0x40
jge 0x4ab0f6
mov eax, dword [esp + 0x10]
mov edx, dword [eax + ebx + 0x30]
mov ecx, dword [eax + ebx + 0x34]
jmp 0x4ab0dc
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x4ab0d5
mov eax, dword [esp + 0x34]
mov ecx, eax
push 0xfffffffffffffff2
mov edx, dword [eax + 0xc]
dec edx
push esi
call fcn.004c80c5
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
test dword [ecx], 0xf0000
mov eax, dword [eax + ebx + 0x20]
mov dword [ecx + 0x10], eax
je 0x4ab13b
mov esi, dword [ecx + 8]
mov edx, esi
mov ecx, dword [esp + 0x14]
call fcn.004b9b11
mov ecx, dword [esp + 0x34]
push 0xfffffffffffffff0
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push dword [esi + 0x14]
push dword [eax + 0x14]
push 0x26
pop edx
call fcn.004c85cc
add esp, 0x14
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.004b9c15
xor esi, esi
mov ecx, dword [esp + 0x40]
movsx eax, word [ebx]
inc ecx
add dword [esp + 0x20], 0x40
mov dword [esp + 0x40], ecx
cmp ecx, eax
jl 0x4ab006
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
mov edx, ecx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
xor eax, eax
cmp ax, word [ebx]
jge 0x4ab1b1
lea eax, [edi + 0x40]
mov dword [esp + 0x18], eax
push edx
push ecx
push dword [ebp + 0x10]
mov edx, esi
mov ecx, edi
call fcn.004ab21d
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [eax]
add eax, 0x40
mov dword [edi + 0x10], ecx
movsx ecx, word [ebx]
cmp esi, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
jl 0x4ab180
mov eax, edi
jmp 0x4aaf97