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

Disassembly:
sub esp, 0x11c
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0x138]
push ebx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x2c], eax
xor al, al
push ebp
mov ebp, dword [esp + 0x12c]
xor cl, cl
push esi
mov esi, dword [esp + 0x13c]
mov byte [esp + 0x13], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x12], al
xor eax, eax
mov byte [esp + 0x1b], cl
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x64], eax
lea eax, [esi + ecx]
mov dword [esp + 0x2c], esi
mov esi, eax
mov dword [esp + 0x54], eax
lea eax, [esi - 1]
push edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], eax
test ebx, ebx
jne 0x1010dd8a
test ebp, ebp
jne 0x1010dd8a
test ecx, ecx
jne 0x1010dd8a
cmp edi, 0xfffffc19
jne 0x1010dd8a
cmp dword [esp + 0x30], edi
jne 0x1010dd8a
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
call fcn.1010eec0
add esp, 0x1c
jmp 0x1010eba1
mov eax, dword [esp + 0x144]
test eax, 0xe20f5a6f
je 0x1010dda2
mov eax, 0xfffffffd
jmp 0x1010eba1
test ebx, ebx
je 0x1010eb9c
test ecx, ecx
je 0x1010eb9c
mov ecx, dword [esp + 0x14c]
test edx, edx
jne 0x1010ddc5
test ecx, ecx
jg 0x1010eb9c
test ecx, ecx
jns 0x1010ddd3
mov eax, 0xfffffff1
jmp 0x1010eba1
test edi, edi
jns 0x1010dde1
mov eax, 0xffffffe0
jmp 0x1010eba1
mov ecx, dword [esp + 0x30]
test ecx, ecx
js 0x1010eb95
cmp ecx, edi
jg 0x1010eb95
mov ecx, dword [ebx]
cmp ecx, 0x50435245
je 0x1010de17
mov eax, 0xfffffffc
mov edx, 0xffffffe3
cmp ecx, 0x45524350
cmove eax, edx
jmp 0x1010eba1
test byte [ebx + 0xc], 1
jne 0x1010de27
mov eax, 0xffffffe4
jmp 0x1010eba1
mov ecx, dword [ebx + 8]
shr ecx, 0xb
and ecx, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0xbc], ecx
test eax, 0x8000000
je 0x1010de49
mov eax, 2
jmp 0x1010de4f
shr eax, 0xf
and eax, 1
test ecx, ecx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0xf8], eax
je 0x1010dee7
test ecx, 0x2000
jne 0x1010dee7
lea eax, [esp + 0x2c]
push eax
push edi
push dword [esp + 0x40]
call fcn.10137b80
add esp, 0xc
test eax, eax
je 0x1010debc
cmp dword [esp + 0x14c], 2
jl 0x1010de9a
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [edx], ecx
mov dword [edx + 4], eax
cmp eax, 5
jg 0x1010deb2
cmp dword [esp + 0xf8], 1
mov eax, 0xffffffe7
jg 0x1010eba1
mov eax, 0xfffffff6
jmp 0x1010eba1
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x1010dedc
cmp eax, edi
jge 0x1010dedc
mov eax, esi
mov al, byte [eax]
and al, 0xc0
cmp al, 0x80
jne 0x1010dedc
mov eax, 0xfffffff5
jmp 0x1010eba1
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x24]
test ebp, ebp
je 0x1010df26
mov eax, dword [ebp]
and al, 0x48
cmp al, 0x40
jne 0x1010df26
cmp dword [ebp + 0x1c], 0
je 0x1010df26
test ecx, 0xe7ff5a7f
jne 0x1010df26
push dword [esp + 0x14c]
push edx
push ecx
push dword [esp + 0x3c]
push edi
push dword [esp + 0x4c]
push ebp
call fcn.1011d700
add esp, 0x1c
cmp eax, 0xffffffe1
jne 0x1010eba1
movzx eax, word [ebx + 0x22]
movzx ebp, word [ebx + 0x24]
add eax, ebx
mov dword [esp + 0xa0], eax
movzx eax, word [ebx + 0x26]
mov ebx, dword [ebx + 0x30]
mov ecx, 0x989680
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
mov edx, ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x118], 0
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x1010dfc3
mov ebx, dword [eax]
test bl, 1
je 0x1010df8a
mov ebx, dword [eax + 4]
mov dword [esp + 0x40], ebx
mov ebx, dword [eax]
test bl, 2
je 0x1010df96
mov ecx, dword [eax + 8]
mov dword [esp + 0x74], ecx
test bl, 0x10
je 0x1010dfa2
mov edx, dword [eax + 0x14]
mov dword [esp + 0x78], edx
test bl, 4
je 0x1010dfb5
mov eax, dword [eax + 0xc]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x3c]
test bl, 8
je 0x1010dfbf
mov ebx, dword [eax + 0x10]
jmp 0x1010dfc3
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
test eax, 0x2000
je 0x1010dfe9
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
test eax, 0x4000
je 0x1010e004
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
cmp eax, edx
cmovb edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], edx
test ebx, ebx
mov ecx, 0x1048d1f8
cmovne ecx, ebx
mov ebx, dword [esp + 0x10]
shr eax, 8
mov edx, dword [ebx + 8]
and eax, 1
mov dword [esp + 0x5c], eax
mov ebx, edx
or ebx, dword [esp + 0x144]
mov eax, edx
shr eax, 0x12
and eax, 1
mov dword [esp + 0x6c], eax
shr ebx, 4
and ebx, 1
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x9c], 0
movzx eax, word [ebx + 0x26]
imul ebp, eax
movzx eax, word [ebx + 0x22]
add ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x104], eax
add ebp, ebx
mov dword [esp + 0xe0], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xe4], ebp
lea eax, [edi + ebp]
mov edi, eax
mov dword [esp + 0xe8], eax
mov ebp, dword [esp + 0x144]
mov eax, edx
shr eax, 5
and eax, 1
mov dword [esp + 0xc8], eax
mov eax, edx
shr eax, 0x1d
and eax, 1
mov dword [esp + 0xc4], eax
mov eax, edx
shr eax, 0x19
and eax, 1
mov dword [esp + 0xc0], eax
mov eax, ebp
shr eax, 7
and eax, 1
mov dword [esp + 0xb4], eax
mov eax, ebp
shr eax, 8
and eax, 1
mov dword [esp + 0xb8], eax
mov eax, ebp
shr eax, 0xa
and eax, 1
mov dword [esp + 0xcc], eax
mov eax, ebp
shr eax, 0x1c
and eax, 1
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 0xc]
shr eax, 0xc
and eax, 1
mov dword [esp + 0xdc], eax
lea eax, [ecx + 0x100]
mov dword [esp + 0xac], eax
lea eax, [ecx + 0x340]
mov dword [esp + 0xb0], eax
mov eax, ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0xd4], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xa8], ecx
and eax, 0x1800000
je 0x1010e184
cmp eax, 0x800000
je 0x1010e177
cmp eax, 0x1000000
je 0x1010e19d
mov eax, 0xffffffe9
jmp 0x1010eba1
mov dword [esp + 0xd8], 1
jmp 0x1010e1a8
test edx, 0x1800000
je 0x1010e19d
mov eax, edx
shr eax, 0x17
and eax, 1
mov dword [esp + 0xd8], eax
jmp 0x1010e1a8
mov dword [esp + 0xd8], 0
test ebp, 0x700000
mov eax, ebp
cmove eax, edx
and eax, 0x700000
cmp eax, 0x300000
ja 0x1010e22d
je 0x1010e1e1
test eax, eax
je 0x1010e1d3
cmp eax, 0x100000
je 0x1010e1da
cmp eax, 0x200000
jne 0x1010e16d
mov ecx, 0xa
jmp 0x1010e1e6
mov ecx, 0xd
jmp 0x1010e1e6
mov ecx, 0xd0a
xor ebp, ebp
mov dword [esp + 0x88], ebp
cmp ecx, 0xff
jle 0x1010e218
mov eax, ecx
mov ebx, 2
sar eax, 8
mov dword [esp + 0x8c], ebx
mov byte [esp + 0xa4], al
mov byte [esp + 0xa5], cl
jmp 0x1010e259
mov ebx, 1
mov dword [esp + 0x8c], ebx
mov byte [esp + 0xa4], cl
jmp 0x1010e259
cmp eax, 0x400000
je 0x1010e246
cmp eax, 0x500000
jne 0x1010e16d
mov ebp, 2
jmp 0x1010e24b
mov ebp, 1
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x88], ebp
cmp dword [esp + 0xf8], 0
je 0x1010e27a
mov eax, dword [esp + 0x10]
test dword [eax + 0xc], 0x200
je 0x1010e27a
mov eax, 0xfffffff3
jmp 0x1010eba1
mov eax, 0x55555556
imul dword [esp + 0x14c]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov dword [esp + 0x18], eax
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x20]
test ax, ax
je 0x1010e31b
mov edi, dword [esp + 0x10]
mov eax, 0x55555556
imul dword [esp + 0x18]
movzx ecx, word [edi + 0x20]
mov edi, dword [esp + 0x34]
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x1010e31b
lea eax, [ecx + 1]
lea eax, [eax + eax*2]
mov dword [esp + 0x18], eax
shl eax, 2
push eax
call dword [0x106438c4]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x1010e303
mov eax, 0xfffffffa
jmp 0x1010eba1
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x44], 1
jmp 0x1010e327
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x20], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x100], 0
je 0x1010e3b5
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + 0x1e]
lea ecx, [ebx + ecx*4]
shl eax, 2
mov edx, ecx
sub edx, eax
lea eax, [ebx + 8]
cmp edx, eax
cmovb edx, eax
sub ecx, 4
cmp ecx, edx
jb 0x1010e396
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, edx
jae 0x1010e385
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 4], 0xffffffff
mov eax, dword [esp + 0x7c]
mov dword [eax], 0xffffffff
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
cmp dword [esp + 0x54], 0
mov edx, dword [esp + 0x10]
jne 0x1010e418
mov eax, dword [edx + 0xc]
test al, 0x10
je 0x1010e3f3
mov ch, byte [edx + 0x18]
mov cl, ch
mov dword [esp + 0x48], 1
mov byte [esp + 0x17], ch
mov byte [esp + 0x1f], cl
test al, 0x20
je 0x1010e418
movzx eax, ch
mov ecx, dword [esp + 0xac]
mov al, byte [eax + ecx]
mov byte [esp + 0x17], al
jmp 0x1010e41f
cmp dword [esp + 0x5c], 0
jne 0x1010e418
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1010e418
test byte [eax + 4], 1
mov ecx, dword [esp + 0xac]
je 0x1010e41f
add eax, 8
mov dword [esp + 0x68], eax
jmp 0x1010e41f
mov ecx, dword [esp + 0xac]
mov eax, dword [edx + 0xc]
test al, 0x40
je 0x1010e450
mov cl, byte [edx + 0x1a]
mov byte [esp + 0x16], cl
mov byte [esp + 0x1e], cl
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x64], 1
test al, al
jns 0x1010e450
movzx eax, byte [esp + 0x16]
mov al, byte [eax + ecx]
mov byte [esp + 0x16], al
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x18], edi
je 0x1010e574
mov eax, dword [esp + 0x28]
mov edi, esi
test eax, eax
je 0x1010e50a
mov ecx, dword [esp + 0xe8]
cmp esi, ecx
jae 0x1010e574
mov edx, dword [esp + 0x34]
test ebp, ebp
je 0x1010e4bb
push eax
lea eax, [esp + 0x90]
push eax
push ecx
push ebp
push edi
call fcn.101363c0
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
add esp, 0x14
test eax, eax
jne 0x1010e570
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x34]
jmp 0x1010e4e7
mov eax, ecx
sub eax, ebx
cmp edi, eax
ja 0x1010e4e7
mov al, byte [edi]
cmp al, byte [esp + 0xa4]
jne 0x1010e4e7
cmp ebx, 1
je 0x1010e570
mov al, byte [edi + 1]
cmp al, byte [esp + 0xa5]
je 0x1010e570
inc edi
cmp edi, edx
jae 0x1010e4fd
lea esp, [esp]
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x1010e4fd
inc edi
cmp edi, edx
jb 0x1010e4f0
cmp edi, ecx
jae 0x1010e570
mov eax, dword [esp + 0x28]
jmp 0x1010e480
mov eax, dword [esp + 0xe8]
cmp esi, eax
jae 0x1010e574
test ebp, ebp
je 0x1010e542
push 0
lea ecx, [esp + 0x90]
push ecx
push eax
push ebp
push edi
call fcn.101363c0
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
add esp, 0x14
test eax, eax
jne 0x1010e570
jmp 0x1010e564
sub eax, ebx
cmp edi, eax
ja 0x1010e564
mov al, byte [edi]
cmp al, byte [esp + 0xa4]
jne 0x1010e564
cmp ebx, 1
je 0x1010e570
mov al, byte [edi + 1]
cmp al, byte [esp + 0xa5]
je 0x1010e570
mov eax, dword [esp + 0xe8]
inc edi
cmp edi, eax
jb 0x1010e515
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
or eax, dword [esp + 0x144]
test eax, 0x4000000
jne 0x1010e74c
cmp dword [esp + 0x48], 0
je 0x1010e5da
mov cl, byte [esp + 0x1f]
mov dl, byte [esp + 0x17]
cmp cl, dl
je 0x1010e5c0
cmp esi, edi
jae 0x1010e74c
mov al, byte [esi]
cmp al, cl
je 0x1010e74c
cmp al, dl
je 0x1010e74c
inc esi
cmp esi, edi
jb 0x1010e5a4
jmp 0x1010e74c
cmp esi, edi
jae 0x1010e74c
cmp byte [esi], cl
je 0x1010e74c
inc esi
cmp esi, edi
jb 0x1010e5c8
jmp 0x1010e74c
cmp dword [esp + 0x5c], 0
je 0x1010e722
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0x30]
add eax, ecx
cmp esi, eax
jbe 0x1010e74c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1010e69e
cmp esi, edi
jae 0x1010e706
mov edi, edi
test ebp, ebp
je 0x1010e64b
cmp esi, ecx
jbe 0x1010e67a
push eax
lea eax, [esp + 0x90]
push eax
push ecx
push ebp
push esi
call fcn.10136510
mov ebp, dword [esp + 0x9c]
add esp, 0x14
test eax, eax
jne 0x1010e706
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xe4]
jmp 0x1010e67a
lea eax, [ebx + ecx]
cmp esi, eax
jb 0x1010e67a
mov edx, esi
sub edx, ebx
mov al, byte [edx]
cmp al, byte [esp + 0xa4]
jne 0x1010e67a
cmp ebx, 1
je 0x1010e706
mov al, byte [edx + 1]
cmp al, byte [esp + 0xa5]
je 0x1010e706
inc esi
cmp esi, edi
jae 0x1010e706
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x1010e695
inc esi
cmp esi, edi
jb 0x1010e683
jmp 0x1010e706
mov eax, dword [esp + 0x28]
jmp 0x1010e610
cmp esi, edi
jae 0x1010e706
test ebp, ebp
je 0x1010e6da
cmp esi, ecx
jbe 0x1010e701
push 0
lea eax, [esp + 0x90]
push eax
push ecx
push ebp
push esi
call fcn.10136510
mov ebp, dword [esp + 0x9c]
add esp, 0x14
test eax, eax
jne 0x1010e706
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xe4]
jmp 0x1010e701
lea eax, [ebx + ecx]
cmp esi, eax
jb 0x1010e701
mov edx, esi
sub edx, ebx
mov al, byte [edx]
cmp al, byte [esp + 0xa4]
jne 0x1010e701
cmp ebx, 1
je 0x1010e706
mov al, byte [edx + 1]
cmp al, byte [esp + 0xa5]
je 0x1010e706
inc esi
cmp esi, edi
jb 0x1010e6a2
cmp byte [esi - 1], 0xd
jne 0x1010e74c
cmp ebp, 1
je 0x1010e716
cmp ebp, 2
jne 0x1010e74c
cmp esi, edi
jae 0x1010e74c
cmp byte [esi], 0xa
jne 0x1010e74c
inc esi
jmp 0x1010e74c
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x1010e74c
cmp esi, edi
jae 0x1010e74c
mov edi, edi
movzx edx, byte [esi]
mov ecx, edx
and ecx, 7
mov eax, 1
shl eax, cl
shr edx, 3
test byte [edx + ebx], al
jne 0x1010e74c
inc esi
cmp esi, edi
jb 0x1010e730
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov eax, dword [edi + 8]
or eax, dword [esp + 0x144]
mov dword [esp + 0x34], ebp
test eax, 0x4000000
jne 0x1010e802
cmp dword [esp + 0xf8], 0
jne 0x1010e802
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1010e796
test byte [ecx + 4], 2
je 0x1010e796
mov eax, ebp
sub eax, esi
cmp eax, dword [ecx + 0x28]
jb case.0x1010e893.996
cmp dword [esp + 0x64], 0
je 0x1010e802
mov eax, ebp
sub eax, esi
cmp eax, 0x3e8
jge 0x1010e802
xor ecx, ecx
cmp dword [esp + 0x48], ecx
setne cl
add ecx, esi
cmp ecx, dword [esp + 0x50]
jbe 0x1010e802
mov dl, byte [esp + 0x1e]
mov al, byte [esp + 0x16]
cmp dl, al
je 0x1010e89a
cmp ecx, ebp
jae case.0x1010e893.996
movzx edi, dl
movzx edx, byte [ecx]
inc ecx
cmp edx, edi
je 0x1010e7f1
movzx eax, al
cmp edx, eax
je 0x1010e7f1
cmp ecx, ebp
jae case.0x1010e893.996
mov al, byte [esp + 0x16]
jmp 0x1010e7d4
mov edi, dword [esp + 0x10]
dec ecx
cmp ecx, ebp
jae case.0x1010e893.996
mov dword [esp + 0x50], ecx
push 0
push 0
lea eax, [esp + 0x78]
push eax
push 2
push esi
push dword [esp + 0xf4]
mov dword [esp + 0x104], esi
push esi
mov dword [esp + 0x110], esi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0xb4], 0
call fcn.1010eec0
add esp, 0x1c
cmp dword [esp + 0xd4], 0
mov ebx, eax
je 0x1010e87a
cmp dword [esp + 0x4c], 0
jne 0x1010e87a
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], esi
test ebx, ebx
jg case.default.0x1010e893
je case.0x1010e893.995
lea eax, [ebx + 0x3e4]
cmp eax, 4
ja case.default.0x1010e893
jmp dword [eax*4 + 0x1010ebbc]
cmp ecx, ebp
jae case.0x1010e893.996
mov edi, edi
mov al, byte [ecx]
inc ecx
cmp al, dl
je 0x1010e7f5
cmp ecx, ebp
jb 0x1010e8a0
xor ebx, ebx
jmp 0x1010e9ea
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x28]
mov edi, esi
mov dword [esp + 0x9c], eax
jmp 0x1010e904
mov edi, dword [esp + 0xec]
cmp edi, esi
jbe case.0x1010e893.995
mov ecx, dword [esp + 0x28]
jmp 0x1010e904
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x9c], 0
lea edi, [esi + 1]
test ecx, ecx
je 0x1010e904
cmp edi, ebp
jae 0x1010e904
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x1010e904
inc edi
cmp edi, ebp
jb 0x1010e8f7
mov ebp, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x6c], ebx
je 0x1010e94d
mov eax, dword [esp + 0xe8]
test ebp, ebp
je 0x1010e9b5
cmp esi, eax
jae 0x1010e94d
push ecx
lea ecx, [esp + 0x90]
push ecx
push eax
push ebp
push esi
call fcn.101363c0
add esp, 0x14
test eax, eax
jne 0x1010e9e6
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
cmp dword [esp + 0x54], 0
mov esi, edi
jne 0x1010e9e2
mov eax, dword [esp + 0x18]
cmp edi, eax
ja 0x1010e9e2
mov edx, dword [esp + 0x10]
cmp edi, dword [esp + 0x58]
jbe 0x1010e9a1
cmp byte [edi - 1], 0xd
jne 0x1010e9a1
cmp edi, eax
jae 0x1010e9a1
cmp byte [edi], 0xa
jne 0x1010e9a1
test dword [edx + 0xc], 0x800
jne 0x1010e9a1
cmp ebp, 1
je 0x1010e99e
cmp ebp, 2
je 0x1010e99e
cmp ebx, 2
jne 0x1010e9a1
lea esi, [edi + 1]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x11c], 0
jmp 0x1010e450
mov ebx, dword [esp + 0x8c]
sub eax, ebx
cmp esi, eax
ja 0x1010e954
mov al, byte [esi]
cmp al, byte [esp + 0xa4]
jne 0x1010e954
cmp ebx, 1
je 0x1010e9e2
mov al, byte [esi + 1]
cmp al, byte [esp + 0xa5]
jne 0x1010e954
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x44], 0
je 0x1010e9fe
push dword [esp + 0x7c]
call dword [sym.php5.dll_php_pcre_free]
add esp, 4
test ebx, ebx
je 0x1010ea98
cmp ebx, 0xfffffff4
je 0x1010ea98
mov eax, ebx
jmp 0x1010eba1
cmp ebx, 1
je 0x1010ea23
cmp ebx, 0xfffffc19
jne 0x1010e9ea
cmp dword [esp + 0x44], 0
mov ebx, dword [esp + 0x2c]
je 0x1010ea71
mov esi, dword [esp + 0x7c]
cmp ebx, 4
jl 0x1010ea53
lea eax, [ebx*4 - 8]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [esp + 0x2c]
add eax, 8
push eax
call sub.MSVCR110.dll_memcpy
add esp, 0xc
cmp dword [esp + 0xfc], ebx
jle 0x1010ea67
or dword [esp + 0x100], 0x10000
push esi
call dword [sym.php5.dll_php_pcre_free]
add esp, 4
test dword [esp + 0x100], 0x10000
mov ecx, dword [esp + 0xfc]
je 0x1010eafc
cmp ecx, ebx
jl 0x1010eafc
xor esi, esi
jmp 0x1010eb05
mov esi, dword [esp + 0x60]
test esi, esi
je 0x1010ead2
mov ecx, dword [esp + 0x14c]
cmp ecx, 1
jle 0x1010eacb
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
sub edx, ebx
sub ebp, ebx
mov dword [eax], edx
mov dword [eax + 4], ebp
cmp ecx, 2
jle 0x1010eacb
sub esi, ebx
mov dword [eax + 8], esi
mov eax, 0xfffffff4
jmp 0x1010ead5
or eax, 0xffffffff
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x1010eba1
test byte [ebp], 0x20
je 0x1010eba1
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x120]
mov dword [edx], ecx
jmp 0x1010eba1
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 0x1010eb48
test edx, edx
je 0x1010eb48
lea eax, [edi*2 + 2]
cmp eax, dword [esp + 0x14c]
lea edi, [edx + ecx*4]
cmovg eax, dword [esp + 0x14c]
lea ecx, [edx + eax*4]
cmp edi, ecx
jae 0x1010eb48
sub ecx, edi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [esp + 0x14c], 2
jge 0x1010eb56
xor esi, esi
jmp 0x1010eb77
mov eax, dword [esp + 0xec]
sub eax, dword [esp + 0xe4]
mov dword [edx], eax
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0xe4]
mov dword [edx + 4], eax
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x1010eb91
test byte [ebp], 0x20
je 0x1010eb91
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x11c]
mov dword [edx], ecx
mov eax, esi
jmp 0x1010eba1
mov eax, 0xffffffe8
jmp 0x1010eba1
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10311bec
add esp, 0x11c
ret