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

Disassembly:
push 0xffffffffffffffff
push 0x10056b80
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10076658]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10076658]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov ebx, edx
lea edi, [esp + 0x3c]
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], cl
mov dword [esp + 0x1c], ebx
call fcn.10014230
mov edi, eax
mov dword [esp + 0x6c], 0
call fcn.10018c60
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10017ac1
push 0
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.1003fc68
mov eax, dword [edi + 4]
test eax, eax
je 0x10017aa1
cmp eax, 0xffffffff
jae 0x10017aa1
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x20]
not esi
call fcn.1003fc90
and esi, edi
je 0x10017ac1
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x34]
lea esi, [esp + 0x40]
call fcn.10018230
mov ecx, 1
mov dword [esp + 0x6c], ecx
mov al, byte [ebp]
cmp al, 0x2b
je 0x10017b05
cmp al, 0x2d
je 0x10017b05
cmp al, 0x30
jne 0x10017afb
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x10017af1
cmp al, 0x58
jne 0x10017afb
mov dword [esp + 0x20], 2
jmp 0x10017b09
mov dword [esp + 0x20], 0
jmp 0x10017b09
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov eax, edx
cmp ecx, 0x10
jae 0x10017b1c
lea eax, [esp + 0x40]
cmp byte [eax], 0x7f
je 0x10017b98
mov eax, edx
cmp ecx, 0x10
jae 0x10017b2c
lea eax, [esp + 0x40]
cmp byte [eax], 0
jle 0x10017b98
cmp ecx, 0x10
jb 0x10017b3c
mov dword [esp + 0x2c], edx
jmp 0x10017b44
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
mov al, byte [edx]
mov esi, ebx
cmp al, 0x7f
je 0x10017b98
test al, al
jle 0x10017b94
mov ecx, esi
sub ecx, dword [esp + 0x20]
movsx eax, al
cmp eax, ecx
jae 0x10017b94
sub esi, eax
mov eax, ebx
sub eax, esi
inc eax
push eax
lea edi, [esi + ebp]
push edi
push eax
lea eax, [esi + ebp + 1]
push eax
call fcn.10042264
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov byte [edi], 0
inc ebx
cmp byte [eax + 1], 0
jle 0x10017b8e
inc eax
mov dword [esp + 0x2c], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x10017b50
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x24], 0
mov esi, dword [edi + 0x20]
jl 0x10017bb3
jg 0x10017bab
test esi, esi
je 0x10017bb3
cmp esi, ebx
jbe 0x10017bb3
sub esi, ebx
jmp 0x10017bb5
xor esi, esi
mov eax, dword [edi + 0x14]
and eax, 0x1c0
cmp eax, 0x40
je 0x10017c59
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
cmp eax, 0x100
je 0x10017bf1
mov bl, byte [esp + 0x1b]
push ecx
push edx
mov eax, esi
lea edi, [esp + 0x28]
call fcn.10017cf0
add esp, 8
jmp 0x10017c3c
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x38]
push eax
mov eax, ebp
call fcn.10018110
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x30]
sub ebx, ecx
mov dword [esp + 0x94], edx
mov edx, dword [eax]
add ebp, ecx
mov ecx, dword [eax + 4]
push ecx
mov dword [esp + 0x30], ebx
mov bl, byte [esp + 0x2f]
push edx
mov eax, esi
lea edi, [esp + 0x38]
call fcn.10017cf0
add esp, 0x18
mov ecx, dword [eax]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
push edx
push ebx
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.10018180
mov ecx, dword [eax]
mov bl, byte [esp + 0x2f]
mov dword [esp + 0x94], ecx
mov eax, dword [eax + 4]
add esp, 0x14
xor edx, edx
push eax
mov dword [esp + 0x88], eax
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], edx
mov edi, dword [esp + 0x78]
push ecx
mov eax, esi
call fcn.10017cf0
add esp, 8
cmp dword [esp + 0x54], 0x10
jb 0x10017cc6
mov edx, dword [esp + 0x40]
push edx
call fcn.1004076b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10040061
add esp, 0x5c
ret