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

Disassembly:
sub esp, 0x120
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x144]
xor cl, cl
mov edx, dword [esp + 0x14c]
xor ch, ch
mov ebx, dword [esp + 0x134]
mov ebp, dword [esp + 0x138]
mov dword [esp + 0x2c], eax
xor eax, eax
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x20], esi
mov byte [esp + 0x1e], cl
mov byte [esp + 0x13], ch
mov byte [esp + 0x1f], cl
mov byte [esp + 0x12], cl
mov ecx, dword [esp + 0x2c]
add esi, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x14], ebx
lea eax, [esi - 1]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x140]
test ebx, ebx
jne 0x10172899
test ebp, ebp
jne 0x10172899
test eax, eax
jne 0x10172899
cmp edi, 0xfffffc19
jne 0x10172899
cmp ecx, edi
jne 0x10172899
push eax
push eax
push eax
push eax
push eax
push eax
push eax
call fcn.10164710
add esp, 0x1c
jmp 0x101737aa
test dword [esp + 0x148], 0xe20f5a6f
je 0x101728b0
mov eax, 0xfffffffd
jmp 0x101737aa
test ebx, ebx
je 0x101737a5
test eax, eax
je 0x101737a5
mov eax, dword [esp + 0x150]
test edx, edx
jne 0x101728d3
test eax, eax
jg 0x101737a5
test eax, eax
jns 0x101728e1
mov eax, 0xfffffff1
jmp 0x101737aa
test edi, edi
jns 0x101728ef
mov eax, 0xffffffe0
jmp 0x101737aa
test ecx, ecx
js 0x1017379e
cmp ecx, edi
jg 0x1017379e
mov ecx, dword [ebx]
cmp ecx, 0x50435245
je 0x10172921
cmp ecx, 0x45524350
mov eax, 0xfffffffc
mov edx, 0xffffffe3
cmove eax, edx
jmp 0x101737aa
test byte [ebx + 0xc], 1
jne 0x10172931
mov eax, 0xffffffe4
jmp 0x101737aa
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x148]
and eax, 0x800
mov dword [esp + 0x3c], eax
mov eax, 0
setne al
mov dword [esp + 0x38], eax
mov dword [esp + 0xc0], eax
test ecx, 0x8000000
je 0x10172966
mov eax, 2
jmp 0x1017296e
mov eax, ecx
shr eax, 0xf
and eax, 1
cmp dword [esp + 0x3c], 0
mov dword [esp + 0xfc], eax
je 0x10172a05
test ecx, 0x2000
jne 0x10172a05
lea eax, [esp + 0x48]
push eax
push edi
push dword [esp + 0x28]
call fcn.10173b70
add esp, 0xc
test eax, eax
je 0x101729d7
cmp dword [esp + 0x150], 2
jl 0x101729b5
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov dword [edx], ecx
mov dword [edx + 4], eax
cmp eax, 5
jg 0x101729cd
cmp dword [esp + 0xfc], 1
mov eax, 0xffffffe7
jg 0x101737aa
mov eax, 0xfffffff6
jmp 0x101737aa
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x101729fa
cmp eax, edi
jge 0x101729fa
mov ecx, dword [esp + 0x20]
mov al, byte [eax + ecx]
and al, 0xc0
cmp al, 0x80
jne 0x101729fa
mov eax, 0xfffffff5
jmp 0x101737aa
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x148]
test ebp, ebp
je 0x10172a44
mov eax, dword [ebp]
and al, 0x48
cmp al, 0x40
jne 0x10172a44
cmp dword [ebp + 0x1c], 0
je 0x10172a44
test ecx, 0xe7ff5a7f
jne 0x10172a44
push dword [esp + 0x150]
push edx
push ecx
push dword [esp + 0x38]
push edi
push dword [esp + 0x34]
push ebp
call fcn.10174570
add esp, 0x1c
cmp eax, 0xffffffe1
jne 0x101737aa
movzx eax, word [ebx + 0x22]
mov edx, 0x989680
movzx ebp, word [ebx + 0x24]
add eax, ebx
mov dword [esp + 0xa4], eax
movzx eax, word [ebx + 0x26]
mov ebx, edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x11c], 0
test eax, eax
je 0x10172ae5
mov ecx, dword [eax]
test cl, 1
je 0x10172aae
mov esi, dword [eax + 4]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x40]
test cl, 2
je 0x10172aba
mov edx, dword [eax + 8]
mov dword [esp + 0x78], edx
test cl, 0x10
je 0x10172ac6
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x7c], ebx
test cl, 4
je 0x10172ad9
mov eax, dword [eax + 0xc]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x44]
test cl, 8
je 0x10172ae5
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
test ecx, 0x2000
je 0x10172b03
mov eax, dword [eax + 0x10]
cmp eax, edx
jae 0x10172aff
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
test ecx, 0x4000
je 0x10172b16
mov eax, dword [eax + 0x14]
cmp eax, ebx
jae 0x10172b16
mov dword [esp + 0x7c], eax
mov ebx, dword [esp + 0x14]
mov ecx, 0x101c2778
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0xa0], 0
cmovne ecx, eax
mov dword [esp + 0xd8], 0
mov edx, dword [ebx + 8]
mov eax, edx
or eax, dword [esp + 0x148]
shr eax, 4
and eax, 1
mov dword [esp + 0x124], 0
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0xc]
shr eax, 8
and eax, 1
mov dword [esp + 0x120], 0
mov dword [esp + 0x5c], eax
mov eax, edx
shr eax, 0x12
and eax, 1
mov dword [esp + 0x118], 0
mov dword [esp + 0x68], eax
movzx eax, word [ebx + 0x26]
imul ebp, eax
movzx eax, word [ebx + 0x22]
mov dword [esp + 0xac], ecx
add ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x108], eax
add ebp, ebx
mov eax, edx
mov ebx, dword [esp + 0x20]
shr eax, 5
and eax, 1
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xcc], eax
mov eax, edx
mov ebp, dword [esp + 0x148]
shr eax, 0x1d
and eax, 1
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xc8], eax
add ebx, edi
mov eax, edx
mov dword [esp + 0xec], ebx
shr eax, 0x19
and eax, 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc4], eax
mov eax, ebp
shr eax, 7
and eax, 1
mov dword [esp + 0xb8], eax
mov eax, ebp
shr eax, 8
and eax, 1
mov dword [esp + 0xbc], eax
mov eax, ebp
shr eax, 0xa
and eax, 1
mov dword [esp + 0xd0], eax
mov eax, ebp
shr eax, 0x1c
and eax, 1
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov eax, edi
shr eax, 0xc
and eax, 1
mov dword [esp + 0xe0], eax
lea eax, [ecx + 0x100]
mov dword [esp + 0xb0], eax
lea eax, [ecx + 0x340]
mov dword [esp + 0xb4], eax
mov eax, ebp
and eax, 0x1800000
je 0x10172ce5
cmp eax, 0x800000
je 0x10172cd8
cmp eax, 0x1000000
jne 0x10172d75
mov dword [esp + 0xdc], 0
test ebp, 0x700000
mov eax, ebp
cmove eax, edx
and eax, 0x700000
cmp eax, 0x300000
ja 0x10172d67
je 0x10172d44
test eax, eax
je 0x10172d21
cmp eax, 0x100000
je 0x10172cfe
cmp eax, 0x200000
jne 0x10172d75
mov dword [esp + 0x8c], 0
jmp 0x10172d2a
mov dword [esp + 0xdc], 1
jmp 0x10172c94
test edx, 0x1800000
je 0x10172c89
mov eax, edx
shr eax, 0x17
and eax, 1
mov dword [esp + 0xdc], eax
jmp 0x10172c94
mov ecx, 0xd
xor eax, eax
mov ebp, 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebp
mov byte [esp + 0xa8], cl
jmp 0x10172d99
xor eax, eax
mov dword [esp + 0x8c], eax
mov ecx, 0xa
mov ebp, 1
mov dword [esp + 0x90], ebp
mov byte [esp + 0xa8], cl
jmp 0x10172d99
mov ebp, 2
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ebp
mov word [esp + 0xa8], 0xa0d
jmp 0x10172d99
cmp eax, 0x400000
je 0x10172d86
cmp eax, 0x500000
je 0x10172d7f
mov eax, 0xffffffe9
jmp 0x101737aa
mov eax, 2
jmp 0x10172d8b
mov eax, 1
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x8c], eax
cmp dword [esp + 0xfc], 0
je 0x10172db5
test edi, 0x200
je 0x10172db5
mov eax, 0xfffffff3
jmp 0x101737aa
mov eax, 0xaaaaaaab
mul dword [esp + 0x150]
mov eax, 0x55555556
shr edx, 1
lea edi, [edx + edx*2]
lea ecx, [edi + edi]
mov dword [esp + 0x30], edi
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x20]
test ax, ax
je 0x10172e7a
mov ecx, eax
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x10172e7a
inc ecx
lea ebx, [ecx + ecx*2]
lea eax, [ebx*4]
mov dword [esp + 0x30], ebx
push eax
call dword [0x101fd4b0]
mov edi, eax
add esp, 4
mov dword [esp + 0x80], edi
test edi, edi
jne 0x10172e32
lea eax, [edi - 6]
jmp 0x101737aa
mov ebp, dword [esp + 0x90]
lea ecx, [ebx + ebx]
mov eax, 0x55555556
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0xec]
imul ecx
mov dword [esp + 0x18], edi
mov ecx, edi
mov eax, edx
mov dword [esp + 0x104], 0
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x88], eax
jmp 0x10172ecb
mov eax, dword [esp + 0x24]
mov edi, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x34], 0
lea ecx, [eax + eax]
mov dword [esp + 0x104], 0
mov eax, 0x55555556
imul ecx
mov ecx, edi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x88], eax
test ecx, ecx
je 0x10172f56
mov eax, dword [esp + 0x30]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x14]
mov edx, ecx
movzx eax, word [eax + 0x1e]
shl eax, 2
sub edx, eax
mov eax, dword [esp + 0x18]
add eax, 8
cmp edx, eax
cmovb edx, eax
sub ecx, 4
cmp ecx, edx
jb 0x10172f16
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, edx
jae 0x10172ef4
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x150]
test eax, eax
jle 0x10172f3c
mov dword [edi], 0xffffffff
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x80]
cmp eax, 1
jle 0x10172f56
mov dword [edi + 4], 0xffffffff
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x90]
cmp dword [esp + 0x6c], 0
mov edx, dword [esp + 0x14]
jne 0x10172fb0
mov eax, dword [edx + 0xc]
test al, 0x10
je 0x10172f94
mov ch, byte [edx + 0x18]
mov dword [esp + 0x50], 1
mov cl, ch
mov byte [esp + 0x13], ch
mov byte [esp + 0x1e], cl
test al, 0x20
je 0x10172fb0
mov eax, dword [esp + 0xb0]
movzx ecx, ch
mov ch, byte [ecx + eax]
mov byte [esp + 0x13], ch
jmp 0x10172fb0
cmp dword [esp + 0x5c], 0
jne 0x10172fb0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10172fb0
test byte [eax + 4], 1
je 0x10172fb0
add eax, 8
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0xc]
test al, 0x40
je 0x10172fdf
mov dl, byte [edx + 0x1a]
mov dword [esp + 0x64], 1
mov byte [esp + 0x12], dl
mov byte [esp + 0x1f], dl
test al, al
jns 0x10172fdf
mov eax, dword [esp + 0xb0]
movzx ecx, dl
mov al, byte [ecx + eax]
mov byte [esp + 0x12], al
cmp dword [esp + 0x68], 0
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
je 0x10173133
cmp dword [esp + 0x3c], 0
mov edi, esi
je 0x101730aa
cmp esi, ebx
jae 0x10173129
nop dword [eax + eax]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x1017305f
cmp edi, ebx
jae 0x1017304f
push dword [esp + 0x38]
lea ecx, [esp + 0x94]
push ecx
push ebx
push eax
push edi
call fcn.101737e0
mov ebx, dword [esp + 0x100]
add esp, 0x14
mov ebp, dword [esp + 0x90]
test eax, eax
je 0x1017304f
mov eax, 1
jmp 0x10173051
xor eax, eax
test eax, eax
jne 0x10173129
mov edx, dword [esp + 0x28]
jmp 0x1017308b
mov eax, ebx
sub eax, ebp
cmp edi, eax
ja 0x1017308b
mov al, byte [edi]
cmp al, byte [esp + 0xa8]
jne 0x1017308b
cmp ebp, 1
je 0x10173129
mov al, byte [edi + 1]
cmp al, byte [esp + 0xa9]
je 0x10173129
inc edi
cmp edi, edx
jae 0x1017309d
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x1017309d
inc edi
cmp edi, edx
jb 0x10173090
cmp edi, ebx
jb 0x10173010
jmp 0x10173129
cmp esi, ebx
jae 0x10173129
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x101730fc
cmp edi, ebx
jae 0x101730f4
push dword [esp + 0x38]
lea eax, [esp + 0x94]
push eax
push ebx
push esi
push edi
call fcn.101737e0
mov ebx, dword [esp + 0x100]
add esp, 0x14
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
test eax, eax
je 0x101730f4
mov eax, 1
jmp 0x101730f6
xor eax, eax
test eax, eax
jne 0x10173125
jmp 0x10173120
mov eax, ebx
sub eax, ebp
cmp edi, eax
ja 0x10173120
mov al, byte [edi]
cmp al, byte [esp + 0xa8]
jne 0x10173120
cmp ebp, 1
je 0x10173125
mov al, byte [edi + 1]
cmp al, byte [esp + 0xa9]
je 0x10173125
inc edi
cmp edi, ebx
jb 0x101730b5
mov esi, dword [esp + 0x40]
mov edx, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
or eax, dword [esp + 0x148]
test eax, 0x4000000
jne 0x1017334c
cmp dword [esp + 0x50], 0
je 0x101731a2
cmp esi, edx
jae 0x1017334c
mov cl, byte [esp + 0x1e]
mov bl, byte [esp + 0x13]
cmp cl, bl
je 0x10173190
nop word [eax + eax]
mov al, byte [esi]
cmp al, cl
je 0x1017334c
cmp al, bl
je 0x1017334c
inc esi
cmp esi, edx
jb 0x10173170
jmp 0x1017334c
cmp byte [esi], cl
je 0x1017334c
inc esi
cmp esi, edx
jb 0x10173190
jmp 0x1017334c
cmp dword [esp + 0x5c], 0
je 0x1017331c
mov ecx, dword [esp + 0xe8]
lea eax, [ecx + edi]
cmp esi, eax
jbe 0x1017334c
cmp esi, edx
jae 0x101732f7
cmp dword [esp + 0x3c], 0
je 0x10173280
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x1017321a
cmp esi, ecx
jbe 0x1017320a
push dword [esp + 0x38]
lea edx, [esp + 0x94]
push edx
push ecx
push eax
push esi
call fcn.10173970
mov ebp, dword [esp + 0xa4]
add esp, 0x14
test eax, eax
je 0x1017320a
mov eax, 1
jmp 0x1017320c
xor eax, eax
test eax, eax
jne 0x101732f7
mov edx, dword [esp + 0x28]
jmp 0x10173249
lea eax, [ecx + ebp]
cmp esi, eax
jb 0x10173250
mov ecx, esi
sub ecx, ebp
mov al, byte [ecx]
cmp al, byte [esp + 0xa8]
jne 0x10173249
cmp ebp, 1
je 0x101732f7
mov al, byte [ecx + 1]
cmp al, byte [esp + 0xa9]
je 0x101732f7
mov ecx, dword [esp + 0xe8]
inc esi
cmp esi, edx
jae 0x101732f7
nop dword [eax]
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x101731d2
inc esi
cmp esi, edx
jb 0x10173260
jmp 0x101732f7
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x101732c4
cmp esi, ecx
jbe 0x101732b8
push dword [esp + 0x38]
lea edx, [esp + 0x94]
push edx
push ecx
push eax
push esi
call fcn.10173970
mov ebp, dword [esp + 0xa4]
add esp, 0x14
test eax, eax
je 0x101732b8
mov eax, 1
jmp 0x101732ba
xor eax, eax
test eax, eax
jne 0x101732f7
mov edx, dword [esp + 0x28]
jmp 0x101732eb
lea eax, [ecx + ebp]
cmp esi, eax
jb 0x101732f2
mov ecx, esi
sub ecx, ebp
mov al, byte [ecx]
cmp al, byte [esp + 0xa8]
jne 0x101732eb
cmp ebp, 1
je 0x101732f7
mov al, byte [ecx + 1]
cmp al, byte [esp + 0xa9]
je 0x101732f7
mov ecx, dword [esp + 0xe8]
inc esi
cmp esi, edx
jb 0x10173280
cmp byte [esi - 1], 0xd
jne 0x1017334c
mov eax, dword [esp + 0x8c]
cmp eax, 1
je 0x1017330e
cmp eax, 2
jne 0x1017334c
cmp esi, dword [esp + 0x28]
jae 0x1017334c
cmp byte [esi], 0xa
jne 0x1017334c
inc esi
jmp 0x1017334c
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x1017334c
cmp esi, edx
jae 0x1017334c
mov edi, dword [esp + 0x28]
nop dword [eax]
movzx edx, byte [esi]
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebx], al
jne 0x1017334c
inc esi
cmp esi, edi
jb 0x10173330
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov eax, dword [edi + 8]
or eax, dword [esp + 0x148]
test eax, 0x4000000
jne 0x101733fc
cmp dword [esp + 0xfc], 0
jne 0x101733fc
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x10173392
test byte [ecx + 4], 2
je 0x10173392
mov eax, ebx
sub eax, esi
cmp eax, dword [ecx + 0x28]
jb case.0x1017348d.996
cmp dword [esp + 0x64], 0
je 0x101733fc
mov eax, ebx
sub eax, esi
cmp eax, 0x3e8
jge 0x101733fc
mov eax, dword [esp + 0x50]
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x54]
jbe 0x101733fc
cmp ecx, ebx
jae case.0x1017348d.996
mov ah, byte [esp + 0x1f]
cmp ah, byte [esp + 0x12]
je 0x101733e0
nop
mov al, byte [ecx]
mov edx, ecx
inc ecx
mov dword [esp + 0x54], edx
cmp al, ah
je 0x101733f8
cmp al, byte [esp + 0x12]
je 0x101733f8
cmp ecx, ebx
jb 0x101733c0
xor ebp, ebp
jmp 0x101735ee
mov al, byte [ecx]
mov edx, ecx
mov dword [esp + 0x54], ecx
inc ecx
cmp al, ah
je 0x101733f8
cmp ecx, ebx
jb 0x101733e0
xor ebp, ebp
jmp 0x101735ee
cmp edx, ebx
jae case.0x1017348d.996
push 0
push 0
lea eax, [esp + 0x7c]
mov dword [esp + 0xf8], esi
push eax
push 2
push esi
push dword [esp + 0xf8]
mov dword [esp + 0x110], esi
push esi
mov dword [esp + 0x90], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0xb8], 0
call fcn.10164710
add esp, 0x1c
mov ebp, eax
cmp dword [esp + 0xd8], 0
je 0x10173474
cmp dword [esp + 0x58], 0
jne 0x10173474
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], esi
test ebp, ebp
jg 0x1017361d
je case.0x1017348d.995
lea eax, [ebp + 0x3e4]
cmp eax, 4
ja case.default.0x1017348d
jmp dword [eax*4 + 0x101737c4]
mov eax, dword [esp + 0x9c]
mov edi, esi
mov dword [esp + 0xa0], eax
jmp 0x101734dd
mov edi, dword [esp + 0xf0]
cmp edi, esi
ja 0x101734dd
cmp dword [esp + 0x3c], 0
lea edi, [esi + 1]
mov dword [esp + 0xa0], 0
je 0x101734dd
cmp edi, ebx
jae 0x101734dd
nop word [eax + eax]
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x101734dd
inc edi
cmp edi, ebx
jb 0x101734d0
mov ebx, dword [esp + 0xec]
xor ebp, ebp
mov dword [esp + 0x30], ebp
cmp dword [esp + 0x68], ebp
je 0x10173534
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x101735af
cmp esi, ebx
jae 0x1017352a
push dword [esp + 0x38]
lea eax, [esp + 0x94]
push eax
push ebx
push ecx
push esi
call fcn.101737e0
mov ebx, dword [esp + 0x100]
add esp, 0x14
test eax, eax
je 0x1017352a
lea eax, [ebp + 1]
jmp 0x1017352c
xor eax, eax
test eax, eax
jne 0x101735ea
mov ebp, dword [esp + 0x90]
cmp dword [esp + 0x6c], 0
mov esi, edi
mov dword [esp + 0x40], esi
jne 0x101735e6
cmp edi, dword [esp + 0x18]
ja 0x101735e6
mov edx, dword [esp + 0x2c]
add edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x18]
cmp edi, edx
jbe 0x1017359f
cmp byte [edi - 1], 0xd
jne 0x1017359f
cmp edi, eax
jae 0x1017359f
cmp byte [edi], 0xa
jne 0x1017359f
mov eax, dword [esp + 0x14]
test dword [eax + 0xc], 0x800
jne 0x1017359f
cmp ecx, 1
je 0x10173598
cmp ecx, 2
je 0x10173598
cmp ebp, 2
jne 0x1017359f
lea esi, [edi + 1]
mov dword [esp + 0x40], esi
mov dword [esp + 0x120], 0
jmp 0x10172fdf
mov ebp, dword [esp + 0x90]
mov eax, ebx
sub eax, ebp
cmp esi, eax
ja 0x1017353b
mov al, byte [esi]
cmp al, byte [esp + 0xa8]
jne 0x1017353b
cmp ebp, 1
je 0x101735e6
mov al, byte [esi + 1]
cmp al, byte [esp + 0xa9]
jne 0x1017353b
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x34], 0
je 0x10173605
push dword [esp + 0x80]
call dword [0x101fd4b4]
add esp, 4
test ebp, ebp
je 0x10173697
cmp ebp, 0xfffffff4
je 0x10173697
mov eax, ebp
jmp 0x101737aa
cmp ebp, 1
je 0x1017362a
cmp ebp, 0xfffffc19
jne 0x101735ee
cmp dword [esp + 0x34], 0
mov ebx, dword [esp + 0x48]
je 0x1017367b
mov esi, dword [esp + 0x80]
cmp ebx, 4
jl 0x1017365d
lea eax, [ebx*4 - 8]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [esp + 0x2c]
add eax, 8
push eax
call fcn.101787d0
add esp, 0xc
cmp dword [esp + 0x100], ebx
jle 0x10173671
or dword [esp + 0x104], 0x10000
push esi
call dword [0x101fd4b4]
add esp, 4
test dword [esp + 0x104], 0x10000
mov ecx, dword [esp + 0x100]
je 0x101736fb
cmp ecx, ebx
jl 0x101736fb
xor esi, esi
jmp 0x10173704
mov esi, dword [esp + 0x70]
test esi, esi
je 0x101736d1
mov ecx, dword [esp + 0x150]
cmp ecx, 1
jle 0x101736ca
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub ebx, edx
mov ebp, dword [esp + 0x58]
sub ebp, edx
mov dword [eax], ebp
mov dword [eax + 4], ebx
cmp ecx, 2
jle 0x101736ca
sub esi, edx
mov dword [eax + 8], esi
mov eax, 0xfffffff4
jmp 0x101736d4
or eax, 0xffffffff
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x101737aa
test byte [ebp], 0x20
je 0x101737aa
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x124]
mov dword [edx], ecx
jmp 0x101737aa
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
movzx edi, word [edi + 0x1e]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
cmp eax, edi
jg 0x10173751
test edx, edx
je 0x10173751
lea eax, [edi*2 + 2]
cmp eax, dword [esp + 0x150]
lea edi, [edx + ecx*4]
cmovg eax, dword [esp + 0x150]
xor ebx, ebx
lea eax, [edx + eax*4]
mov ecx, eax
sub ecx, edi
add ecx, 3
shr ecx, 2
cmp edi, eax
cmova ecx, ebx
test ecx, ecx
je 0x10173751
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [esp + 0x150], 2
jge 0x1017375f
xor esi, esi
jmp 0x10173780
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0xe8]
mov dword [edx], eax
mov eax, dword [esp + 0xf4]
sub eax, dword [esp + 0xe8]
mov dword [edx + 4], eax
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x1017379a
test byte [ebp], 0x20
je 0x1017379a
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x120]
mov dword [edx], ecx
mov eax, esi
jmp 0x101737aa
mov eax, 0xffffffe8
jmp 0x101737aa
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10176e3f
add esp, 0x120
ret