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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
lea eax, [esp + 0x40]
push 1
push 0x10240ca5
mov dword [esp + 0x30], edx
push edx
mov dword [esp + 0x38], ecx
push ecx
push eax
call fcn.101bcc00
add esp, 0x14
test byte [esp + 0x40], 1
je 0x1017df1c
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov eax, ebx
mov dword [esp], ecx
sub eax, ecx
cmp eax, esi
jae 0x1017e07c
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
cmp edi, ecx
cmova ecx, edi
lea edi, [edx - 1]
mov edx, 1
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ebx
xor edi, edi
mov ebx, 1
movzx ecx, byte [ecx + eax]
shld edi, edx, cl
shl ebx, cl
test cl, 0x20
mov ecx, 0
cmovne edi, ebx
cmovne ebx, ecx
and edi, dword [esp + 0x38]
and ebx, dword [esp + 0x3c]
or ebx, edi
je 0x1017de80
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
cmovb ebx, ecx
cmp dword [esp + 8], 0xffffffff
cmove ebx, ecx
lea ecx, [ebx - 1]
cmp ecx, dword [esp]
jae 0x1017dea0
mov edx, dword [esp + 0x34]
mov ecx, ebx
neg ecx
lea edi, [edx + ebx]
lea ebx, [ebx + eax - 1]
nop
test ecx, ecx
je 0x1017dea8
cmp ebx, esi
jae 0x1017e0c7
movzx edx, byte [edi]
mov esi, dword [esp + 4]
inc ecx
dec edi
mov byte [esp + 0x1c], dl
movzx edx, byte [esp + 0x1c]
cmp dl, byte [esi + ebx]
mov esi, dword [esp + 0xc]
lea ebx, [ebx - 1]
je 0x1017de30
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x14]
sub eax, ecx
cmp dword [esp + 8], 0xffffffff
mov ecx, dword [esp]
mov edx, 1
jne 0x1017de8a
jmp 0x1017de8e
cmp dword [esp + 8], 0xffffffff
mov ecx, dword [esp]
je 0x1017de8e
mov dword [esp + 0x20], ecx
mov ebx, eax
sub eax, dword [esp]
cmp eax, esi
jb 0x1017ddc8
jmp 0x1017e07c
test ebx, ebx
jne 0x1017e0e8
cmp dword [esp + 8], 0xffffffff
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 4]
cmove ecx, dword [esp]
lea edi, [edx + eax]
cmp ecx, ebx
cmovbe ecx, ebx
nop word cs:[eax + eax]
nop
cmp ecx, ebx
je 0x1017e02f
cmp dword [esp + 0x10], ebx
je 0x1017e0b5
lea edx, [eax + ebx]
cmp edx, esi
jae 0x1017e0a0
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ebx]
cmp dl, byte [edi + ebx]
lea ebx, [ebx + 1]
je 0x1017ded0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
sub eax, ecx
cmp dword [esp + 8], 0xffffffff
mov edx, 1
jne 0x1017de8a
jmp 0x1017de8e
cmp byte [esp + 0x4e], 0
jne 0x1017e07c
mov eax, dword [esp + 0x48]
mov bh, byte [esp + 0x4d]
test eax, eax
je 0x1017e03e
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov bl, bh
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edi
jmp 0x1017df65
mov edx, ebx
xor dl, 1
cmp bl, 1
setne bh
add eax, ecx
mov bl, dl
je 0x1017e03e
cmp eax, dword [esp + 0x1c]
jae 0x1017df80
cmp byte [edi + eax], 0xbf
jg 0x1017df86
jmp 0x1017e0d6
jne 0x1017e0d6
movsx edx, byte [edi + eax - 1]
test edx, edx
jns 0x1017dff5
movzx ecx, byte [edi + eax - 2]
cmp cl, 0xc0
jge 0x1017dfcd
mov byte [esp + 4], bh
mov byte [esp + 0x18], bl
movzx ebx, byte [edi + eax - 3]
cmp bl, 0xc0
mov dword [esp + 0x10], ebx
jge 0x1017dfd2
mov esi, dword [esp + 0xc]
movzx edi, byte [esi + eax - 4]
mov esi, dword [esp + 0x10]
and edi, 7
and esi, 0x3f
shl edi, 6
or esi, edi
mov edi, dword [esp + 0xc]
jmp 0x1017dfd9
and ecx, 0x1f
jmp 0x1017dfea
mov esi, dword [esp + 0x10]
and esi, 0xf
movzx ebx, byte [esp + 0x18]
mov bh, byte [esp + 4]
shl esi, 6
and ecx, 0x3f
or ecx, esi
and dl, 0x3f
shl ecx, 6
movzx edx, dl
or edx, ecx
test bh, 1
jne 0x1017e02f
mov ecx, 0xffffffff
cmp edx, 0x80
jb 0x1017df50
mov ecx, 0xfffffffe
cmp edx, 0x800
jb 0x1017df50
xor ecx, ecx
cmp edx, 0x10000
setb cl
or ecx, 0xfffffffc
jmp 0x1017df50
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
xor ecx, ecx
inc eax
jne 0x1017e050
jmp 0x1017e06a
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov eax, 1
test bh, 1
je 0x1017e07c
cmp eax, edi
jae 0x1017e062
cmp byte [esi + eax], 0xbf
jle 0x1017e0f7
mov ecx, eax
jmp 0x1017e06a
mov ecx, edi
jne 0x1017e0f7
add esi, ecx
sub edi, ecx
push edi
push esi
call fcn.101be8c0
add esp, 8
test al, 1
je 0x1017e08d
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
shr eax, 0x10
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov word [ecx + 8], ax
mov eax, ecx
jmp 0x1017e085
add eax, dword [esp + 0x14]
cmp esi, eax
cmova eax, esi
push 0x10240ae0
push esi
push eax
call fcn.101cc694
push 0x10240ad0
push dword [esp + 4]
push dword [esp + 0x18]
call fcn.101cc694
push 0x10240b00
push dword [esp + 0x10]
push ebx
call fcn.101cc694
push 0x10240b20
push eax
push 0
push dword [esp + 0x28]
push edi
call fcn.101ccb20
push 0x10240af0
push dword [esp + 4]
push ecx
call fcn.101cc694
push 0x10240ca8
push edi
push eax
push edi
push esi
call fcn.101ccb20
int3