Function at 0x1017e240
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 0x102407c5
mov dword [esp + 0x30], edx
push edx
mov dword [esp + 0x38], ecx
push ecx
push eax
call fcn.101bcef0
add esp, 0x14
test byte [esp + 0x40], 1
je 0x1017e44c
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 0x1017e5ac
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 0x1017e3b0
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 0x1017e3d0
mov edx, dword [esp + 0x34]
mov ecx, ebx
neg ecx
lea edi, [edx + ebx]
lea ebx, [ebx + eax - 1]
nop
test ecx, ecx
je 0x1017e3d8
cmp ebx, esi
jae 0x1017e5f7
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 0x1017e360
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 0x1017e3ba
jmp 0x1017e3be
cmp dword [esp + 8], 0xffffffff
mov ecx, dword [esp]
je 0x1017e3be
mov dword [esp + 0x20], ecx
mov ebx, eax
sub eax, dword [esp]
cmp eax, esi
jb 0x1017e2f8
jmp 0x1017e5ac
test ebx, ebx
jne 0x1017e618
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 0x1017e55f
cmp dword [esp + 0x10], ebx
je 0x1017e5e5
lea edx, [eax + ebx]
cmp edx, esi
jae 0x1017e5d0
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ebx]
cmp dl, byte [edi + ebx]
lea ebx, [ebx + 1]
je 0x1017e400
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
sub eax, ecx
cmp dword [esp + 8], 0xffffffff
mov edx, 1
jne 0x1017e3ba
jmp 0x1017e3be
cmp byte [esp + 0x4e], 0
jne 0x1017e5ac
mov eax, dword [esp + 0x48]
mov bh, byte [esp + 0x4d]
test eax, eax
je 0x1017e56e
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov bl, bh
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edi
jmp 0x1017e495
mov edx, ebx
xor dl, 1
cmp bl, 1
setne bh
add eax, ecx
mov bl, dl
je 0x1017e56e
cmp eax, dword [esp + 0x1c]
jae 0x1017e4b0
cmp byte [edi + eax], 0xbf
jg 0x1017e4b6
jmp 0x1017e606
jne 0x1017e606
movsx edx, byte [edi + eax - 1]
test edx, edx
jns 0x1017e525
movzx ecx, byte [edi + eax - 2]
cmp cl, 0xc0
jge 0x1017e4fd
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 0x1017e502
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 0x1017e509
and ecx, 0x1f
jmp 0x1017e51a
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 0x1017e55f
mov ecx, 0xffffffff
cmp edx, 0x80
jb 0x1017e480
mov ecx, 0xfffffffe
cmp edx, 0x800
jb 0x1017e480
xor ecx, ecx
cmp edx, 0x10000
setb cl
or ecx, 0xfffffffc
jmp 0x1017e480
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
xor ecx, ecx
inc eax
jne 0x1017e580
jmp 0x1017e59a
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov eax, 1
test bh, 1
je 0x1017e5ac
cmp eax, edi
jae 0x1017e592
cmp byte [esi + eax], 0xbf
jle 0x1017e627
mov ecx, eax
jmp 0x1017e59a
mov ecx, edi
jne 0x1017e627
add esi, ecx
sub edi, ecx
push edi
push esi
call fcn.101bebb0
add esp, 8
test al, 1
je 0x1017e5bd
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 0x1017e5b5
add eax, dword [esp + 0x14]
cmp esi, eax
cmova eax, esi
push 0x10240600
push esi
push eax
call fcn.101cc9d4
push 0x102405f0
push dword [esp + 4]
push dword [esp + 0x18]
call fcn.101cc9d4
push 0x10240620
push dword [esp + 0x10]
push ebx
call fcn.101cc9d4
push 0x10240640
push eax
push 0
push dword [esp + 0x28]
push edi
call fcn.101cce60
push 0x10240610
push dword [esp + 4]
push ecx
call fcn.101cc9d4
push 0x102407c8
push edi
push eax
push edi
push esi
call fcn.101cce60
int3