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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x94], eax
cmp byte [0x1046bc54], 0
push esi
push edi
jne 0x101ae9fa
mov eax, dword [0x10240c7c]
mov byte [0x1046bc54], 1
mov eax, dword [eax + 0x44]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, eax
call edx
mov edi, eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], edx
mov esi, dword [edi + 0x230]
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x101ae39f
cmp esi, 0x15555555
ja 0x101aea0e
lea edx, [esp + 0x20]
call fcn.101b2a20
mov edx, eax
mov dword [esp + 0x18], eax
lea ecx, [esi + esi*2]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea eax, [edx + ecx*4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x230]
mov ecx, eax
mov esi, dword [edi + 0x220]
shl ecx, 4
sub ecx, eax
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x101ae453
mov ecx, dword [esi + 0x10]
mov eax, ecx
mov edi, dword [esi + 0x14]
and eax, 3
or eax, 0
jne 0x101ae43a
mov eax, dword [esi + 0x18]
mov edx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, edi
shrd ecx, edi, 2
mov edi, dword [esp + 0x34]
shrd edx, eax, 0x10
and ecx, 0x3fff
movzx eax, dx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp edi, dword [esp + 0x28]
je 0x101ae419
mov eax, dword [esp + 0x20]
mov dword [edi], ecx
mov word [edi + 4], dx
mov dword [edi + 8], eax
add edi, 0xc
mov dword [esp + 0x34], edi
jmp 0x101ae43a
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0x40]
call fcn.101b1cf0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
add esi, 0x78
cmp esi, dword [esp + 0x14]
jne 0x101ae3c1
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x34]
mov eax, 0x2aaaaaab
push dword [esp + 0x24]
sub ecx, edx
imul ecx
mov ecx, dword [esp + 0x1c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x38]
push eax
mov dword [esp + 0x34], eax
call fcn.101b1e60
push dword [edi + 0x2a4]
mov ecx, 0x10467638
call fcn.101b1560
push dword [edi + 0x2a4]
mov ecx, 0x10535004
call fcn.101b1560
mov ecx, dword [edi + 0x28c]
mov eax, dword [edi + 0x29c]
mov dword [esp + 0x20], ecx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov dword [esp + 0x1c], eax
cmp ecx, eax
je 0x101ae931
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x14], ecx
mov esi, dword [ecx]
test esi, esi
je 0x101ae91e
cmp esi, 0x2329
je 0x101ae91e
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
cmp esi, 0x2710
jl 0x101ae6a6
xor eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 7
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x70], xmm0
mov word [esp + 0x50], ax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], al
test edx, edx
jle 0x101ae551
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*4], esi
lea eax, [edi + eax*4]
jge 0x101ae54b
lea edi, [eax + 0xc]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x101ae54d
mov edx, ecx
test edx, edx
jg 0x101ae530
cmp edi, dword [esp + 0x34]
je 0x101ae5e6
cmp dword [edi], esi
jne 0x101ae5e6
mov edx, dword [esp + 0x3c]
movzx ecx, word [edi + 4]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
je 0x101ae5ca
mov ecx, dword [0x10240c88]
mov esi, dword [ecx + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
mov edx, eax
lea esi, [edx + 2]
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x101ae5a0
sub edx, esi
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.10020ab0
push 3
push 0x10214f9c
lea ecx, [esp + 0x58]
call fcn.10020bb0
mov edx, dword [edi + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101ae5d2
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.100230b0
mov eax, dword [0x10240c88]
mov esi, dword [esp + 0x14]
mov edx, dword [eax + 0x34]
mov ecx, dword [esi + 0x24]
inc ecx
push ecx
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x101ae605
sub edx, edi
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.10020bb0
mov eax, dword [0x10535008]
lea ecx, [esi + 0x78]
cmp eax, dword [0x1053500c]
je 0x101ae64d
push dword [ecx]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x58]
push ecx
push dword [esi]
mov ecx, eax
call fcn.101b1010
add dword [0x10535008], 0x50
jmp 0x101ae65f
push ecx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x58]
push ecx
push esi
push eax
call fcn.101b20a0
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x101ae698
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101ae68e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101aea13
push ecx
push edx
call fcn.101b61a3
add esp, 8
lea ecx, [esp + 0x50]
call fcn.10002200
jmp 0x101ae91a
test edx, edx
jle 0x101ae6d9
nop word [eax + eax]
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*4], esi
lea eax, [edi + eax*4]
jge 0x101ae6cb
lea edi, [eax + 0xc]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x101ae6cd
mov edx, ecx
test edx, edx
jg 0x101ae6b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp edi, dword [esp + 0x34]
je 0x101ae91e
add edi, 8
nop word [eax + eax]
mov eax, dword [edi - 8]
cmp eax, dword [ecx]
jne 0x101ae91a
mov edx, dword [esp + 0x3c]
movzx ecx, word [edi - 4]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
call eax
mov dword [esp + 0x44], eax
test eax, eax
je 0x101ae906
mov ecx, dword [0x10240c88]
mov esi, dword [ecx + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
mov edx, eax
mov dword [esp + 0x60], 0
mov ecx, edx
mov dword [esp + 0x64], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101ae754
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.10027d90
push 3
push 0x10214f9c
lea ecx, [esp + 0x58]
call fcn.10020bb0
mov eax, dword [0x10240c88]
mov esi, dword [esp + 0x14]
mov edx, dword [eax + 0x34]
mov ecx, dword [esi + 0x24]
inc ecx
push ecx
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
lea ecx, [edx + 2]
mov dword [esp + 0x40], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x101ae7a1
sub edx, dword [esp + 0x40]
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.10020bb0
mov ecx, dword [esp + 0x44]
xor eax, eax
cmp dword [esi + 0x78], 7
mov dword [esp + 0x40], 0
sete al
add eax, 6
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movzx ecx, al
lea edx, [esp + 0x44]
mov eax, dword [esi + 0x78]
lea esi, [esp + 0x4c]
dec eax
add ecx, eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ecx
cmovns eax, edx
cmp dword [esp + 0x48], ecx
cmovge esi, eax
mov eax, dword [0x1046763c]
mov dword [esp + 0x24], eax
cmp eax, dword [0x10467640]
je 0x101ae8b8
mov edx, dword [edi]
xorps xmm0, xmm0
mov eax, edx
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [eax + 1]
mov dword [esp + 0x48], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101ae845
sub eax, dword [esp + 0x48]
lea ecx, [esp + 0x70]
push eax
push edx
call fcn.10027e30
push dword [esi]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x28]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esi]
call fcn.101b1010
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x101ae8af
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101ae8a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101aea13
push ecx
push edx
call fcn.101b61a3
add esp, 8
add dword [0x1046763c], 0x50
jmp 0x101ae8ca
push esi
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x54]
push edi
push ecx
push esi
push eax
call fcn.101b21f0
mov ecx, dword [esp + 0x64]
cmp ecx, 7
jbe 0x101ae906
mov edx, dword [esp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101ae8fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101aea13
push ecx
push edx
call fcn.101b61a3
add esp, 8
mov ecx, dword [esp + 0x14]
add edi, 0xc
lea eax, [edi - 8]
cmp eax, dword [esp + 0x34]
jne 0x101ae6f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add ecx, 0x18
mov dword [esp + 0x20], ecx
cmp ecx, eax
jne 0x101ae4c1
mov edi, dword [0x10467638]
mov eax, 0x66666667
mov ecx, dword [0x1046763c]
add edi, 0x50
sub ecx, edi
mov byte [esp + 0x24], 0
push dword [esp + 0x24]
imul ecx
mov ecx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x1046763c]
push eax
call fcn.101b2de0
mov ecx, 0x10467638
call fcn.101b14f0
mov esi, dword [0x10535008]
mov eax, 0x66666667
mov ecx, dword [0x10535004]
sub esi, ecx
imul esi
mov byte [esp + 0x24], 0
push dword [esp + 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x10535008]
push eax
call fcn.101b2de0
mov ecx, 0x10535004
call fcn.101b14f0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x101ae9fa
mov ecx, dword [esp + 0x28]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x101ae9f0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101aea13
push ecx
push esi
call fcn.101b61a3
add esp, 8
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.101b5eaa
mov esp, ebp
pop ebp
ret
call fcn.10024670
call fcn.101bb2d6
int3