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

Disassembly:
push 0xffffffffffffffff
push 0x100d8a63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
call fcn.10006749
xor eax, eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
mov dword [esi + 0x18], eax
push 0x100000
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc4], 1
mov dword [esi + 0x1c], eax
call fcn.10006768
test al, al
je 0x100ae96a
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], eax
call fcn.100067b7
push 0x100000
lea ecx, [esp + 0x54]
call fcn.10009033
test al, al
je 0x100ae96a
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x50]
call fcn.1000907e
lea edx, [esp + 0x8c]
push 3
push edx
lea ecx, [esp + 0x30]
call fcn.1008b18e
cmp eax, 3
jb 0x100aec96
cmp byte [esp + 0x8c], 0x1f
jne 0x100aec96
cmp byte [esp + 0x8d], 0x9d
jne 0x100aec96
mov al, byte [esp + 0x8e]
test al, 0x60
mov bl, al
jne 0x100aec96
and eax, 0x1f
mov ebp, eax
cmp ebp, 9
mov dword [esp + 0x80], ebp
jb 0x100aec96
cmp ebp, 0x10
ja 0x100aec96
mov eax, dword [esi + 0x14]
mov edi, 1
mov ecx, ebp
shl edi, cl
cmp ebp, eax
mov dword [esp + 0x84], edi
jne 0x100ae938
mov eax, dword [esi + 8]
test eax, eax
je 0x100ae938
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100ae938
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x100ae989
mov ecx, esi
call fcn.100ae7b0
lea ecx, [edi + edi]
call fcn.100b3340
test eax, eax
mov dword [esi + 8], eax
je 0x100ae96a
mov ecx, edi
call fcn.100b3340
test eax, eax
mov dword [esi + 0xc], eax
je 0x100ae96a
mov ecx, edi
call fcn.100b3340
test eax, eax
mov dword [esi + 0x10], eax
jne 0x100ae986
lea ecx, [esp + 0x50]
call fcn.1000906f
lea ecx, [esp + 0x28]
call fcn.100067a6
mov eax, 0x8007000e
jmp 0x100aecad
mov dword [esi + 0x14], ebp
and bl, 0x80
xor edi, edi
neg bl
sbb ebx, ebx
mov ecx, dword [esi + 8]
and ebx, 0xffff0100
xor eax, eax
add ebx, 0x10000
mov dword [esp + 0x20], edi
cmp ebx, 0x100
mov dword [esp + 0x24], edi
sete al
add eax, 0x100
xor ebp, ebp
mov dword [esp + 0x1c], eax
xor eax, eax
mov word [ecx + 0x200], ax
mov edx, dword [esi + 0xc]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x14], 9
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
mov byte [edx + 0x100], al
mov dword [esp + 0x88], eax
jmp 0x100ae9f3
mov edi, dword [esp + 0x18]
cmp edi, ebp
jne 0x100aeabb
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x8c]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.1008b18e
mov edi, eax
lea ecx, [esp + 0x50]
shl edi, 3
mov dword [esp + 0x18], edi
xor ebp, ebp
call fcn.10009096
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xb0], eax
test ecx, ecx
mov dword [esp + 0xb4], edx
je 0x100aeabb
mov ebx, dword [esp + 0x20]
mov ecx, eax
sub ecx, ebx
mov ebx, edx
sbb ebx, dword [esp + 0x24]
mov dword [esp + 0xa4], ebx
jne 0x100aea5d
cmp ecx, 0x2000
jb 0x100aeabb
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x30]
xor ebx, ebx
sub eax, edx
cdq
add eax, ecx
mov ecx, dword [esp + 0x3c]
adc edx, ebx
mov ebx, dword [esp + 0x38]
add eax, ebx
adc edx, ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xd8]
push ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0xb0], edx
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x100aec26
mov ecx, dword [esp + 0x14]
mov eax, ebp
shr eax, 3
xor ebx, ebx
mov edx, 1
mov bh, byte [esp + eax + 0x8e]
mov bl, byte [esp + eax + 0x8d]
shl edx, cl
xor ecx, ecx
mov cl, byte [esp + eax + 0x8c]
shl ebx, 8
or ebx, ecx
mov ecx, ebp
and ecx, 7
mov dword [esp + 0xa0], edx
shr ebx, cl
dec edx
and ebx, edx
mov edx, dword [esp + 0x14]
add ebp, edx
mov ecx, ebx
cmp ebp, edi
mov dword [esp + 0x78], ecx
ja 0x100aec43
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jae 0x100aec3c
cmp ecx, dword [esp + 0x7c]
jne 0x100aeb42
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 9
mov dword [esp + 0x1c], 0x101
mov byte [esp + 0x13], 0
jmp 0x100ae9f3
xor edi, edi
cmp ecx, 0x100
mov eax, ecx
jb 0x100aeb72
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
inc edi
mov dl, byte [edx + eax]
mov byte [ebx + edi - 1], dl
mov edx, dword [esi + 8]
xor ebx, ebx
mov bx, word [edx + eax*2]
mov eax, ebx
cmp eax, 0x100
jae 0x100aeb4e
mov edx, dword [esp + 0x1c]
mov ebx, dword [esi + 0x10]
inc edi
mov byte [ebx + edi - 1], al
mov bl, byte [esp + 0x13]
test bl, bl
je 0x100aeb92
mov ebx, dword [esi + 0xc]
dec edx
cmp ecx, edx
mov byte [ebx + edx], al
jne 0x100aeb92
mov ecx, dword [esi + 0x10]
mov byte [ecx], al
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 0x10]
dec edi
inc eax
mov cl, byte [edx + edi]
mov edx, dword [esp + 0x50]
mov byte [eax + edx - 1], cl
mov ecx, dword [esp + 0x58]
cmp eax, ecx
mov dword [esp + 0x54], eax
jne 0x100aebbf
lea ecx, [esp + 0x50]
call fcn.1008b18e
mov eax, dword [esp + 0x54]
test edi, edi
ja 0x100aeb96
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jae 0x100aec1c
mov ecx, dword [esi + 8]
mov dx, word [esp + 0x78]
mov byte [esp + 0x13], 1
mov word [ecx + eax*2], dx
mov ecx, dword [esp + 0xa0]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jbe 0x100ae9ef
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jae 0x100ae9ef
xor ebp, ebp
xor edi, edi
inc eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
jmp 0x100ae9f3
mov byte [esp + 0x13], 0
jmp 0x100ae9ef
lea ecx, [esp + 0x50]
call fcn.1000906f
lea ecx, [esp + 0x28]
call fcn.100067a6
mov eax, ebx
jmp 0x100aecad
mov edi, 1
jmp 0x100aec4a
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
sub eax, ecx
mov ecx, dword [esp + 0x48]
xor ebx, ebx
cdq
add eax, ecx
lea ecx, [esp + 0x50]
adc edx, ebx
mov ebx, dword [esp + 0x3c]
add eax, ebp
adc edx, ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.1000914f
test edi, edi
jne 0x100aec80
mov edi, eax
lea ecx, [esp + 0x50]
call fcn.1000906f
lea ecx, [esp + 0x28]
call fcn.100067a6
mov eax, edi
jmp 0x100aecad
lea ecx, [esp + 0x50]
call fcn.1000906f
lea ecx, [esp + 0x28]
call fcn.100067a6
mov eax, 1
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret 0x14