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

Disassembly:
push 0xffffffffffffffff
push 0x100d7ee3
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.10006610
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.1000662f
test al, al
je 0x100ae56a
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], eax
call fcn.1000667e
push 0x100000
lea ecx, [esp + 0x54]
call fcn.10008f07
test al, al
je 0x100ae56a
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x50]
call fcn.10008f52
lea edx, [esp + 0x8c]
push 3
push edx
lea ecx, [esp + 0x30]
call fcn.10006748
cmp eax, 3
jb 0x100ae896
cmp byte [esp + 0x8c], 0x1f
jne 0x100ae896
cmp byte [esp + 0x8d], 0x9d
jne 0x100ae896
mov al, byte [esp + 0x8e]
test al, 0x60
mov bl, al
jne 0x100ae896
and eax, 0x1f
mov ebp, eax
cmp ebp, 9
mov dword [esp + 0x80], ebp
jb 0x100ae896
cmp ebp, 0x10
ja 0x100ae896
mov eax, dword [esi + 0x14]
mov edi, 1
mov ecx, ebp
shl edi, cl
cmp ebp, eax
mov dword [esp + 0x84], edi
jne 0x100ae538
mov eax, dword [esi + 8]
test eax, eax
je 0x100ae538
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100ae538
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x100ae589
mov ecx, esi
call fcn.100ae3b0
lea ecx, [edi + edi]
call fcn.100b2f10
test eax, eax
mov dword [esi + 8], eax
je 0x100ae56a
mov ecx, edi
call fcn.100b2f10
test eax, eax
mov dword [esi + 0xc], eax
je 0x100ae56a
mov ecx, edi
call fcn.100b2f10
test eax, eax
mov dword [esi + 0x10], eax
jne 0x100ae586
lea ecx, [esp + 0x50]
call fcn.10008f43
lea ecx, [esp + 0x28]
call fcn.1000666d
mov eax, 0x8007000e
jmp 0x100ae8ad
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 0x100ae5f3
mov edi, dword [esp + 0x18]
cmp edi, ebp
jne 0x100ae6bb
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x8c]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.10006748
mov edi, eax
lea ecx, [esp + 0x50]
shl edi, 3
mov dword [esp + 0x18], edi
xor ebp, ebp
call fcn.10008f6a
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xb0], eax
test ecx, ecx
mov dword [esp + 0xb4], edx
je 0x100ae6bb
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 0x100ae65d
cmp ecx, 0x2000
jb 0x100ae6bb
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 0x100ae826
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 0x100ae843
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jae 0x100ae83c
cmp ecx, dword [esp + 0x7c]
jne 0x100ae742
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 0x100ae5f3
xor edi, edi
cmp ecx, 0x100
mov eax, ecx
jb 0x100ae772
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 0x100ae74e
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 0x100ae792
mov ebx, dword [esi + 0xc]
dec edx
cmp ecx, edx
mov byte [ebx + edx], al
jne 0x100ae792
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 0x100ae7bf
lea ecx, [esp + 0x50]
call fcn.1000903f
mov eax, dword [esp + 0x54]
test edi, edi
ja 0x100ae796
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jae 0x100ae81c
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 0x100ae5ef
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jae 0x100ae5ef
xor ebp, ebp
xor edi, edi
inc eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
jmp 0x100ae5f3
mov byte [esp + 0x13], 0
jmp 0x100ae5ef
lea ecx, [esp + 0x50]
call fcn.10008f43
lea ecx, [esp + 0x28]
call fcn.1000666d
mov eax, ebx
jmp 0x100ae8ad
mov edi, 1
jmp 0x100ae84a
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.10009023
test edi, edi
jne 0x100ae880
mov edi, eax
lea ecx, [esp + 0x50]
call fcn.10008f43
lea ecx, [esp + 0x28]
call fcn.1000666d
mov eax, edi
jmp 0x100ae8ad
lea ecx, [esp + 0x50]
call fcn.10008f43
lea ecx, [esp + 0x28]
call fcn.1000666d
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