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

Disassembly:
push 0xffffffffffffffff
push 0x1010a188
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
lea eax, [esp + 0xa8]
lea esi, [esp + 0x58]
mov dword [esp + 0x44], 1
call fcn.10019600
test al, al
jne 0x100174bc
mov ebx, dword [esp + 0x4c]
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x54]
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x58], 0
je 0x1001730c
cmp byte [esp + 0x98], 0
jne 0x1001730c
xor dl, dl
jmp 0x1001730e
mov dl, 1
cmp dword [esp + 0xa8], 0
je 0x10017326
cmp byte [esp + 0xe8], 0
jne 0x10017326
xor cl, cl
jmp 0x10017328
mov cl, 1
test dl, dl
jne 0x100173a9
test cl, cl
jne 0x100173a9
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x78]
call fcn.10019700
test al, al
je 0x100173be
mov eax, dword [esp + 0x88]
cmp eax, 0xfffffffc
je 0x10017362
test eax, eax
je 0x1001735d
cmp eax, dword [esp + 0xd8]
je 0x10017362
call fcn.100c55dd
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0xdc]
jne 0x100173be
mov eax, dword [esp + 0x90]
cmp eax, 0xfffffffc
je 0x10017390
test eax, eax
je 0x1001738b
cmp eax, dword [esp + 0xe0]
je 0x10017390
call fcn.100c55dd
mov ecx, dword [esp + 0x94]
cmp ecx, dword [esp + 0xe4]
jne 0x100173be
mov eax, dword [esp + 0x18]
jmp 0x10017431
cmp dl, cl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
sete cl
test cl, cl
jne 0x1001742d
mov ebp, dword [ebx + 0x10]
cmp dword [ebx + 0xc], ebp
jbe 0x100173cb
call fcn.100c55dd
mov edi, dword [ebx]
lea esi, [esp + 0x20]
lea eax, [esp + 0x58]
call fcn.10018060
push ebp
push edi
push eax
mov ecx, ebx
mov byte [esp + 0x50], 2
call fcn.10017ce0
mov byte [esp + 0x44], 1
cmp dword [esp + 0x38], 0x10
jb 0x10017402
mov edx, dword [esp + 0x24]
push edx
call fcn.100c5661
add esp, 4
lea esi, [esp + 0x58]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.10011a60
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x100172f7
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
lea ebp, [edi*8]
sub ebp, dword [esp + 0x14]
lea ebx, [eax*8]
sub ebx, eax
add ebp, ebp
add ebx, ebx
add ebp, ebp
add ebx, ebx
lea edi, [ecx + ebp]
lea esi, [ebx + ecx]
cmp esi, edi
je 0x10017470
sub edi, 0x1c
cmp esi, edi
je 0x10017470
push edi
mov ecx, esi
call fcn.10018f70
add esi, 0x1c
cmp esi, edi
jne 0x1001745a
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
add esi, ebp
cmp esi, edi
je 0x1001749a
sub edi, 0x1c
cmp esi, edi
je 0x10017496
push edi
mov ecx, esi
call fcn.10018f70
add esi, 0x1c
cmp esi, edi
jne 0x10017480
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
add esi, ebx
cmp esi, ebp
je 0x100174bc
sub ebp, 0x1c
cmp esi, ebp
je 0x100174bc
push ebp
mov ecx, esi
call fcn.10018f70
add esi, 0x1c
cmp esi, ebp
jne 0x100174a6
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x100174ed
test al, 1
jne 0x100174e5
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x100174e5
lea ecx, [esp + 0x60]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x1001751f
test al, 1
jne 0x1001751f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x1001751f
lea ecx, [esp + 0xb0]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xb0