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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
lea eax, [esp + 0x68]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], 0
push 2
push 0x1016dc2f
push dword [ebp + 8]
mov dword [esp + 0x50], edx
push edx
push eax
call fcn.100e28d0
add esp, 0x14
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0x74]
cmp ecx, eax
mov edi, eax
mov dword [esp + 0x34], esi
cmova edi, ecx
cmp dword [esp + 0x68], 0
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 8], edi
je 0x10001c12
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x40], esi
mov esi, ecx
mov ecx, eax
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x28], esi
mov dword [esp + 0x58], ecx
lea ecx, [esi - 1]
cmp ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x8c]
lea eax, [eax - 1]
setb byte [esp + 0x3b]
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xa0]
lea eax, [ecx + esi - 1]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x5c], eax
nop dword [eax]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ecx
lea eax, [ebx + eax]
je 0x10001a10
mov esi, dword [esp + 0x34]
cmp eax, edi
jb 0x100018fa
jmp 0x10001c32
add ebx, dword [esp + 0x30]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x48]
add eax, ebx
cmp eax, edi
jae 0x10001c32
movzx ecx, byte [esi + eax]
xor eax, eax
mov edx, 1
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x2c]
and edx, dword [esp + 0x50]
or edx, eax
je 0x100018e0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, esi
cmp ecx, edx
mov esi, edx
lea edx, [eax + ebx]
cmova esi, ecx
mov ecx, dword [esp + 0x30]
mov eax, esi
mov dword [esp + 0x3c], esi
cmp esi, ecx
cmova ecx, esi
nop word [eax + eax]
cmp ecx, eax
je 0x100019a0
mov esi, ebx
lea edi, [ebx + eax]
mov ebx, dword [esp + 8]
cmp edi, ebx
jae 0x10001ec5
mov ebx, dword [esp + 0x24]
lea edi, [eax + 1]
movzx ebx, byte [ebx + eax]
cmp bl, byte [edx + eax]
mov eax, edi
mov ebx, esi
je 0x10001950
sub ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], 0
add ebx, edi
mov edi, dword [esp + 8]
jmp 0x100018ec
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x34]
nop dword [eax]
cmp dword [esp + 0x14], eax
jae 0x100019f0
dec eax
cmp eax, dword [esp + 0x30]
jae 0x10001eff
lea ecx, [eax + ebx]
cmp ecx, edi
jae 0x10001ef3
mov edx, dword [esp + 0x24]
movzx edx, byte [edx + eax]
cmp dl, byte [esi + ecx]
je 0x100019b0
mov eax, dword [esp + 0x58]
add ebx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
jmp 0x100018ec
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
jmp 0x10001b0c
mov esi, dword [esp + 0x34]
cmp eax, edi
jb 0x10001a32
jmp 0x10001c32
add ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
add eax, ebx
cmp eax, edi
jae 0x10001c32
movzx ecx, byte [esi + eax]
xor eax, eax
mov edx, 1
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x2c]
and edx, dword [esp + 0x50]
or edx, eax
je 0x10001a20
mov edx, dword [esp + 0x28]
mov eax, ebx
lea ecx, [esi + ebx]
mov edi, ebx
neg eax
nop dword [eax]
cmp dword [esp + 0x64], edx
je 0x10001ab0
lea esi, [ebx + edx]
cmp esi, dword [esp + 8]
jae 0x10001eda
mov esi, dword [esp + 0x24]
dec eax
movzx ebx, byte [esi + edx]
mov esi, dword [esp + 0x34]
cmp bl, byte [ecx + edx]
mov ebx, edi
lea edx, [edx + 1]
je 0x10001a70
mov edi, dword [esp + 8]
neg eax
mov ebx, eax
jmp 0x10001a24
test byte [esp + 0x3b], 1
je 0x10001be9
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
add eax, ebx
nop dword [eax]
sub edx, 1
jb 0x10001b00
cmp eax, dword [esp + 8]
jae 0x10001f0e
movzx ebx, byte [ecx]
dec ecx
cmp bl, byte [esi + eax]
lea eax, [eax - 1]
mov ebx, edi
je 0x10001ad0
add ebx, dword [esp + 0x40]
mov edi, dword [esp + 8]
jmp 0x10001a24
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], esi
sub esi, dword [esp + 4]
add ecx, eax
lea edx, [eax + ebx]
sub edx, ecx
cmp esi, edx
jb 0x10001b8c
mov esi, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], edx
add eax, esi
push edx
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
sub ecx, esi
mov eax, esi
mov dword [esp + 0x20], esi
cmp ecx, dword [ebp + 0x10]
jb 0x10001bc7
add ebx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [esp + 0xc]
mov edi, ebx
mov ebx, ecx
add eax, esi
push ecx
push dword [ebp + 0xc]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, ebx
mov ebx, edi
mov ecx, edi
mov edi, dword [esp + 8]
mov dword [esp + 4], esi
mov dword [esp + 0x20], esi
jmp 0x100018b0
push edx
push dword [esp + 8]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], ecx
mov esi, edx
call fcn.10005f40
mov ecx, dword [esp + 0x1c]
mov edx, esi
add esp, 0xc
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0xc], esi
jmp 0x10001b27
push dword [ebp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10005f40
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
jmp 0x10001b55
cmp dword [esp + 0x28], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], 0xffffffff
je 0x10001b0c
push 0x101020fc
push dword [esp + 0x34]
push dword [esp + 0x54]
call fcn.100dc320
test edx, 0xff0000
je 0x10001c8b
mov dword [esp + 4], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
sub eax, dword [esp + 4]
add esi, edx
add ecx, edx
sub ecx, esi
mov edx, esi
mov esi, ecx
cmp eax, ecx
jb 0x10001e9a
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xc]
add eax, edi
push esi
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], edi
movsd xmm0, qword [esp + 0x18]
mov dword [eax + 8], edi
movsd qword [eax], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
jmp 0x10001cec
mov ebx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ecx, dword [ebp + 0x10]
xor bl, 1
add eax, esi
push ecx
push dword [ebp + 0xc]
push eax
call sub.msvcrt.dll_memcpy
mov edx, ebx
add esp, 0xc
add esi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x10001d06
cmp ebx, edi
jae 0x10001d00
cmp byte [esi + ebx], 0xc0
jge 0x10001d06
jmp 0x10001f1d
jne 0x10001f1d
cmp ebx, edi
jne 0x10001d20
test dl, dl
mov ebx, edi
jne 0x10001e00
jmp 0x10001c32
movzx eax, byte [esi + ebx]
test al, al
jns 0x10001d90
movzx edi, byte [esi + ebx + 1]
mov ecx, eax
and ecx, 0x1f
and edi, 0x3f
cmp al, 0xe0
jb 0x10001d81
mov dword [esp + 0x2c], edx
movzx edx, byte [esi + ebx + 2]
shl edi, 6
mov dword [esp + 0x24], ebx
and edx, 0x3f
or edx, edi
cmp al, 0xf0
jb 0x10001de8
mov ebx, dword [esp + 0x24]
shl edx, 6
mov edi, dword [esp + 8]
and ecx, 7
shl ecx, 0x12
movzx eax, byte [esi + ebx + 3]
and eax, 0x3f
or eax, edx
mov edx, dword [esp + 0x2c]
or eax, ecx
test dl, dl
jne 0x10001e00
jmp 0x10001d94
shl ecx, 6
or ecx, edi
mov edi, dword [esp + 8]
mov eax, ecx
nop dword [eax]
test dl, dl
jne 0x10001e00
mov ecx, 1
cmp eax, 0x80
jb 0x10001db9
mov ecx, 2
cmp eax, 0x800
jb 0x10001db9
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
add ebx, ecx
je 0x10001dd2
cmp ebx, edi
jae 0x10001dcc
cmp byte [esi + ebx], 0xc0
jge 0x10001dd2
jmp 0x10001f1d
jne 0x10001f1d
mov dl, 1
cmp ebx, edi
jne 0x10001ddc
mov ebx, edi
jmp 0x10001e00
movzx eax, byte [esi + ebx]
test al, al
jns 0x10001e00
cmp al, 0xe0
jmp 0x10001e00
shl ecx, 0xc
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x24]
or edx, ecx
mov eax, edx
mov edx, dword [esp + 0x2c]
test dl, dl
je 0x10001d94
nop
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebx
mov edx, edi
add ecx, eax
add ebx, eax
sub edx, dword [esp + 4]
sub ebx, ecx
cmp edx, ebx
jb 0x10001e6e
mov esi, dword [esp + 4]
mov eax, dword [esp + 0xc]
add eax, esi
push ebx
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, ebx
sub edi, esi
mov eax, esi
mov dword [esp + 0x20], esi
cmp edi, dword [ebp + 0x10]
jae 0x10001cb0
push dword [ebp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10005f40
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
jmp 0x10001cb0
push ebx
push dword [esp + 8]
lea eax, [esp + 0x20]
push eax
mov esi, ecx
call fcn.10005f40
mov ecx, esi
add esp, 0xc
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
jmp 0x10001e24
lea eax, [esp + 0x18]
push esi
push dword [esp + 8]
push eax
mov edi, edx
call fcn.10005f40
mov edx, edi
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
jmp 0x10001c57
add esi, dword [esp + 0x3c]
cmp ebx, esi
cmova esi, ebx
push 0x1010211c
push ebx
push esi
call fcn.100dc320
add ebx, dword [esp + 0x28]
mov eax, dword [esp + 8]
cmp eax, ebx
cmova ebx, eax
push 0x1010211c
push eax
push ebx
call fcn.100dc320
push 0x1010210c
push edi
push ecx
call fcn.100dc320
push 0x101020fc
push dword [esp + 0x34]
push eax
call fcn.100dc320
push 0x1010210c
push dword [esp + 0xc]
push eax
call fcn.100dc320
push 0x1010218c
mov eax, dword [esp + 0xc]
push eax
push ebx
push eax
push dword [esp + 0x44]
call fcn.100e3530
nop word cs:[eax + eax]
nop dword [eax]
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call fcn.100e0e60
add esp, 0xc
pop ebp
ret