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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 0x101080ea
push edi
mov dword [esp + 0x20], esi
call fcn.100de193
mov ebx, dword [esi + 0xc]
mov edx, dword [esi]
mov ebp, dword [esi + 4]
mov dword [esp + 0x54], ebp
movzx eax, byte [ebx + 0x10]
mov edi, dword [edx]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
lea ecx, [eax + eax*8]
mov eax, dword [edx + 4]
mov edx, ebp
lea eax, [eax + ecx*8]
lea ecx, [esp + 0x1c]
add eax, 8
push ecx
push dword [esi + 8]
mov ecx, edi
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
call fcn.100ad280
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x100af40f
xor eax, eax
mov dword [ebx + 0x24], 0x400
mov word [ebx + 0x12], ax
mov edx, ebx
mov word [ebx + 0x28], ax
mov byte [ebx + 0x1c], al
mov eax, dword [ebp]
mov ecx, dword [edi]
push eax
mov dword [esp + 0x54], eax
call fcn.100ad600
add esp, 4
test eax, eax
je 0x100af41c
mov ecx, dword [edi]
mov edx, ebp
call fcn.1003f6f0
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov edi, dword [esp + 0x74]
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x70]
xor edx, edx
push eax
push dword [esp + 0x20]
push ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
mov ecx, esi
call fcn.100aee10
mov esi, eax
add esp, 0x1c
mov dword [esp + 0x18], esi
test esi, esi
jne 0x100af696
mov ecx, dword [esp + 0x70]
mov edx, edi
mov eax, ecx
not edx
not eax
mov dword [esp + 0x28], edx
and edx, dword [ebx + 4]
mov dword [esp + 0x24], eax
and eax, dword [ebx]
mov dword [esp + 0x58], eax
or eax, edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
jne 0x100af47f
test eax, eax
je 0x100af696
xor edx, edx
xorps xmm0, xmm0
mov dword [esp + 0x14], edx
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x48], xmm0
lea esi, [edx + 1]
test eax, eax
je 0x100af4f1
lea eax, [esp + 0x10]
mov edx, esi
push eax
push dword [esp + 0x20]
push ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.100aee10
mov ecx, dword [esp + 0x40]
mov esi, eax
and ecx, dword [ebx]
add esp, 0x1c
mov edi, dword [esp + 0x28]
mov eax, ecx
and edi, dword [ebx + 4]
or eax, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edi
jne 0x100af4e5
mov edx, 1
mov dword [esp + 0x14], edx
jmp 0x100af4e7
xor edx, edx
test esi, esi
jne 0x100af696
jmp 0x100af501
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov ebx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], eax
nop word [eax + eax]
mov eax, dword [esp + 0x50]
or esi, 0xffffffff
or edi, 0xffffffff
test eax, eax
jle 0x100af588
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov ecx, dword [esp + 0x54]
mov edx, dword [edx + 4]
mov ebp, dword [ecx + 0x14]
add edx, 8
mov eax, dword [edx]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [ebp + eax*8 + 0x20]
mov eax, dword [ebp + eax*8 + 0x24]
and eax, dword [esp + 0x28]
and ecx, dword [esp + 0x24]
cmp eax, dword [esp + 0x3c]
jb 0x100af574
ja 0x100af566
cmp ecx, dword [esp + 0x30]
jbe 0x100af574
cmp eax, edi
ja 0x100af574
jb 0x100af570
cmp ecx, esi
jae 0x100af574
mov esi, ecx
mov edi, eax
add edx, 0xc
sub ebx, 1
jne 0x100af541
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x30], esi
and eax, edi
mov dword [esp + 0x3c], edi
cmp eax, 0xffffffff
je 0x100af628
cmp esi, dword [esp + 0x58]
jne 0x100af5a9
cmp edi, dword [esp + 0x5c]
je 0x100af614
cmp esi, dword [esp + 0x40]
jne 0x100af5b5
cmp edi, dword [esp + 0x44]
je 0x100af614
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
or esi, ecx
push ebp
or edi, eax
xor edx, edx
push edi
push esi
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.100aee10
mov ecx, dword [esp + 0x8c]
mov esi, eax
mov eax, dword [esp + 0x7c]
add esp, 0x1c
mov dword [esp + 0x18], esi
cmp dword [eax], ecx
jne 0x100af61a
mov edi, dword [esp + 0x74]
cmp dword [eax + 4], edi
jne 0x100af61a
cmp dword [esp + 0x10], 0
mov edx, 1
mov eax, edx
mov dword [esp + 0x14], edx
cmove ebx, eax
mov dword [esp + 0x48], ebx
jmp 0x100af61e
mov esi, dword [esp + 0x18]
jmp 0x100af61e
mov edx, dword [esp + 0x14]
test esi, esi
je 0x100af520
jmp 0x100af696
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x100af696
mov edi, dword [esp + 0x74]
test edx, edx
jne 0x100af66b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x78]
push ebp
push edi
push eax
push edi
push eax
call fcn.100aee10
add esp, 0x1c
mov ecx, 1
cmp dword [esp + 0x10], 0
mov esi, eax
cmove ebx, ecx
test esi, esi
jne 0x100af696
jmp 0x100af670
mov ecx, 1
test ebx, ebx
jne 0x100af696
lea eax, [esp + 0x10]
mov edx, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x78]
push ebp
push edi
push eax
push edi
push eax
call fcn.100aee10
add esp, 0x1c
mov esi, eax
cmp dword [ebp + 0x1c], 0
je 0x100af6a7
push dword [ebp + 0x18]
call fcn.1003f620
add esp, 4
mov ecx, dword [esp + 0x64]
mov edx, ebp
mov ecx, dword [ecx]
call fcn.1003f6f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret