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

Disassembly:
sub esp, 0x8ac
mov eax, dword [0x104fb780]
xor eax, esp
mov dword [esp + 0x8a8], eax
mov eax, dword [esp + 0x8cc]
push ebx
mov ebx, dword [esp + 0x8b4]
push ebp
mov dword [esp + 0x28], ebx
xor ebp, ebp
mov ebx, dword [esp + 0x8bc]
push esi
xor esi, esi
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x8c4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x30], esi
cmp ebx, 3
jl 0x10196d1b
test eax, eax
je 0x10196d1b
push edi
cmp ebx, 0x100
jge 0x10195e08
lea ebx, [esp + 0xb0]
mov dword [esp + 0x10], ebx
lea ebp, [esp + 0x4b4]
jmp 0x10195e3e
lea edi, [ebx*4 + 4]
push edi
call fcn.10131c27
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x10195e31
push edi
call fcn.10131c27
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10195e3e
push str.plP_plfclp:_Insufficient_memory
call fcn.1018faa0
add esp, 4
push dword [esp + 0x8d4]
mov edi, dword [esp + 0x8d0]
push edi
push dword [esp + 0x28]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10195b90
xor ecx, ecx
mov dword [esp + 0x50], eax
test eax, eax
sete cl
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x8ec]
push ecx
push edi
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.10195b90
push dword [esp + 0x8fc]
xor ecx, ecx
mov dword [esp + 0x98], eax
push dword [esp + 0x8fc]
test eax, eax
push dword [esp + 0x50]
sete cl
push dword [esp + 0x64]
mov dword [esp + 0xb4], ecx
push dword [esp + 0x64]
call fcn.10195b90
push dword [esp + 0x914]
xor ecx, ecx
mov dword [esp + 0x84], eax
push dword [esp + 0x910]
test eax, eax
push dword [esp + 0x64]
sete cl
push dword [esp + 0x78]
mov dword [esp + 0xd8], ecx
push dword [esp + 0x78]
call fcn.10195b90
mov edx, dword [esp + 0x7c]
add esp, 0x50
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x88], eax
lea eax, [edx - 1]
test eax, eax
jle 0x10196483
nop word [eax + eax]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + ecx*4]
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], edx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + ecx*4 + 4]
mov ecx, dword [esp + 0x8d0]
mov dword [esp + 0x48], eax
cmp edx, edi
jg 0x10195f6d
cmp edx, ecx
jge 0x10195f75
cmp edx, edi
jl 0x10196094
cmp edx, ecx
jg 0x10196094
mov ecx, dword [esp + 0x8d4]
mov edx, dword [esp + 0x8d8]
cmp dword [esp + 0x1c], ecx
jg 0x10195f99
cmp dword [esp + 0x1c], edx
jge 0x10195fa3
cmp dword [esp + 0x1c], ecx
jl 0x1019609b
cmp dword [esp + 0x1c], edx
jg 0x1019609b
cmp dword [esp + 0x28], edi
jg 0x10195fc4
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x8d0]
mov ebx, dword [esp + 0x10]
jge 0x10195fd9
cmp dword [esp + 0x28], edi
jl 0x1019609b
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x8d0]
mov ebx, dword [esp + 0x10]
jg 0x1019609b
cmp eax, ecx
jg 0x10195fe9
cmp eax, edx
jge 0x10195ff1
cmp eax, ecx
jl 0x1019609b
cmp eax, edx
jg 0x1019609b
mov eax, dword [esp + 0x78]
xor ebx, ebx
cmp eax, edi
sete bl
mov dword [esp + 0x68], ebx
xor ebx, ebx
cmp eax, dword [esp + 0x8d0]
sete bl
mov dword [esp + 0x70], ebx
xor ebx, ebx
cmp dword [esp + 0x1c], ecx
sete bl
mov dword [esp + 0x60], ebx
xor ebx, ebx
cmp dword [esp + 0x1c], edx
sete bl
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x10]
jne 0x10196044
cmp dword [esp + 0x68], 0
mov dword [esp + 0x4c], 0
je 0x1019604c
mov dword [esp + 0x4c], 1
cmp dword [esp + 0x34], 0
jne 0x10196062
cmp dword [esp + 0x70], 0
mov dword [esp + 0x34], 0
je 0x1019606a
mov dword [esp + 0x34], 1
cmp dword [esp + 0x38], 0
mov edi, dword [esp + 0x8cc]
jne 0x10196102
cmp dword [esp + 0x60], 0
jne 0x10196102
mov ecx, dword [esp + 0x8d4]
mov dword [esp + 0x38], 0
jmp 0x10196111
mov ecx, dword [esp + 0x8d4]
push dword [esp + 0x8d8]
lea eax, [esp + 0x4c]
push ecx
push dword [esp + 0x8d8]
push edi
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.10199460
add esp, 0x20
neg eax
sbb eax, eax
add eax, 1
je 0x1019646b
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x8d8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x8d4]
mov dword [esp + 0x78], eax
jmp 0x10195ff5
mov edx, dword [esp + 0x8d8]
mov dword [esp + 0x38], 1
cmp dword [esp + 0x24], 0
jne 0x10196127
cmp dword [esp + 0x64], 0
mov dword [esp + 0x24], 0
je 0x1019612f
mov dword [esp + 0x24], 1
test esi, esi
jne 0x10196145
mov word [ebx + esi*2], ax
movzx eax, word [esp + 0x50]
mov word [ebp], ax
jmp 0x10196413
movsx eax, word [ebx + esi*2 - 2]
cmp dword [esp + 0x78], eax
jne 0x10196173
movsx eax, word [ebp + esi*2 - 2]
cmp dword [esp + 0x1c], eax
jne 0x10196173
mov eax, dword [esp + 0x28]
mov word [ebx + esi*2], ax
mov ax, word [esp + 0x48]
mov word [ebp + esi*2], ax
inc esi
jmp 0x1019642a
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov word [ebx + esi*2 + 2], ax
movzx eax, word [esp + 0x48]
mov word [ebp + esi*2 + 2], ax
movzx eax, word [esp + 0x74]
mov word [ebx + esi*2 + 4], ax
movzx eax, word [esp + 0x50]
mov word [ebp + esi*2 + 4], ax
je 0x101961ac
cmp dword [esp + 0x70], 0
jne 0x1019623f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x101961bf
cmp dword [esp + 0x58], 0
jne 0x10196243
cmp dword [esp + 0x14], 0
je 0x101961cd
cmp dword [esp + 0x70], 0
jne 0x101961e0
test eax, eax
je 0x101962ab
cmp dword [esp + 0x58], 0
je 0x101962ab
cmp dword [esp + 0x3c], 0
jne 0x101962ab
mov eax, dword [esp + 0x8d0]
cmp dword [esp + 0x14], 0
movzx ebx, ax
movzx edx, di
mov eax, ebx
movzx edi, cx
mov ecx, edx
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov word [eax + esi*2], cx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov eax, edx
mov edx, dword [esp + 0x8d8]
cmove ecx, eax
mov word [ebp + esi*2], di
mov word [ebx + esi*2 + 2], cx
mov word [ebp + esi*2 + 2], di
add esi, 2
mov edi, dword [esp + 0x8cc]
jmp 0x10196400
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x6c], 0
jne 0x101961bf
mov eax, dword [esp + 0x8d0]
cmp dword [esp + 0x14], 0
movzx edx, ax
mov eax, dword [esp + 0x8d8]
movzx ebx, ax
mov eax, edx
movzx edi, di
mov ecx, edi
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov word [eax + esi*2], cx
mov eax, edi
mov edi, dword [esp + 0x8cc]
mov ecx, edx
mov edx, dword [esp + 0x8d8]
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov word [ebp + esi*2], bx
mov word [eax + esi*2 + 2], cx
mov word [ebp + esi*2 + 2], bx
mov ebx, eax
add esi, 2
jmp 0x10196400
cmp dword [esp + 0x18], 0
je 0x101962bd
cmp dword [esp + 0x64], 0
jne 0x10196344
mov eax, dword [esp + 0x60]
test eax, eax
je 0x101962cc
cmp dword [esp + 0x5c], 0
jne 0x10196348
cmp dword [esp + 0x18], 0
je 0x101962da
cmp dword [esp + 0x64], 0
jne 0x101962e5
test eax, eax
je 0x1019635c
cmp dword [esp + 0x5c], 0
je 0x1019635c
cmp dword [esp + 0x44], 0
jne 0x1019635c
mov eax, dword [esp + 0x8d0]
cmp dword [esp + 0x18], 0
movzx edi, dx
movzx edx, ax
mov eax, dword [esp + 0x10]
movzx ebx, cx
mov ecx, ebx
mov word [eax + esi*2], dx
mov eax, edi
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov word [ebp + esi*2], cx
mov ecx, edi
mov edi, dword [esp + 0x8cc]
mov word [eax + esi*2 + 2], dx
mov eax, ebx
mov ebx, dword [esp + 0x10]
cmove ecx, eax
mov edx, dword [esp + 0x8d8]
mov word [ebp + esi*2 + 2], cx
add esi, 2
jmp 0x10196400
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x3c], 0
jne 0x101962cc
mov eax, dword [esp + 0x8cc]
jmp 0x101962f3
cmp dword [esp + 0x14], 0
je 0x10196367
test eax, eax
jne 0x10196375
cmp dword [esp + 0x18], 0
je 0x10196386
cmp dword [esp + 0x68], 0
je 0x10196386
movzx eax, di
mov word [ebx + esi*2], ax
movzx eax, cx
mov word [ebp + esi*2], ax
jmp 0x101963ff
cmp dword [esp + 0x58], 0
je 0x10196391
test eax, eax
jne 0x1019639f
cmp dword [esp + 0x18], 0
je 0x101963b4
cmp dword [esp + 0x70], 0
je 0x101963b4
mov eax, dword [esp + 0x8d0]
mov word [ebx + esi*2], ax
movzx eax, cx
mov word [ebp + esi*2], ax
jmp 0x101963ff
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x64]
je 0x101963c3
test eax, eax
jne 0x101963d1
cmp dword [esp + 0x5c], 0
je 0x101963d6
cmp dword [esp + 0x68], 0
je 0x101963d6
movzx eax, di
jmp 0x101963f6
cmp dword [esp + 0x58], 0
je 0x101963e1
test eax, eax
jne 0x101963ef
cmp dword [esp + 0x5c], 0
je 0x10196400
cmp dword [esp + 0x70], 0
je 0x10196400
mov eax, dword [esp + 0x8d0]
mov word [ebx + esi*2], ax
mov word [ebp + esi*2], dx
inc esi
movzx eax, word [esp + 0x74]
mov word [ebx + esi*2], ax
movzx eax, word [esp + 0x50]
mov word [ebp + esi*2], ax
movzx eax, word [esp + 0x54]
mov word [ebx + esi*2 + 2], ax
movzx eax, word [esp + 0x48]
mov word [ebp + esi*2 + 2], ax
add esi, 2
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [esp + 0x14], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x8d0]
mov eax, dword [esp + 0x48]
sete cl
cmp eax, dword [esp + 0x8d4]
mov dword [esp + 0x58], ecx
mov ecx, 0
sete cl
mov dword [esp + 0x18], ecx
xor ecx, ecx
cmp eax, edx
sete cl
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
lea eax, [edx - 1]
cmp ecx, eax
jl 0x10195f20
test esi, esi
jne 0x101964e0
cmp dword [esp + 0x3c], esi
jne 0x10196aaf
mov eax, dword [esp + 0x8d4]
movzx ecx, ax
mov eax, dword [esp + 0x8d0]
movzx edx, di
mov word [ebx], dx
movzx eax, ax
mov word [ebp], cx
mov word [ebx + 2], ax
mov word [ebp + 2], cx
mov word [ebx + 4], ax
mov eax, dword [esp + 0x8d8]
movzx eax, ax
mov word [ebp + 4], ax
mov word [ebx + 6], dx
mov word [ebp + 6], ax
mov word [ebx + 8], dx
mov word [ebp + 8], cx
push 5
jmp 0x10196cf4
cmp esi, 2
jl 0x10196aaf
push edx
push dword [esp + 0x24]
push dword [esp + 0x38]
call fcn.10195720
movzx ecx, di
mov edx, eax
movzx eax, word [ebx]
mov edi, ecx
mov dword [esp + 0x50], edi
add esp, 0xc
mov edi, dword [esp + 0x8d0]
cmp ax, cx
movzx edi, di
mov dword [esp + 0x6c], eax
mov eax, edi
jne 0x1019655c
cmp word [ebx + esi*2 - 2], di
jne 0x1019655c
mov eax, dword [esp + 0x8d8]
test edx, edx
movzx ecx, ax
mov eax, dword [esp + 0x8d4]
movzx eax, ax
cmovle ecx, eax
mov word [ebx + esi*2], di
mov eax, dword [esp + 0x44]
mov word [ebp + esi*2], cx
mov word [ebx + esi*2 + 2], ax
mov word [ebp + esi*2 + 2], cx
add esi, 2
jmp 0x10196aaf
cmp word [esp + 0x6c], ax
jne 0x101965aa
cmp word [ebx + esi*2 - 2], cx
jne 0x101965aa
mov eax, dword [esp + 0x8d4]
test edx, edx
mov edx, dword [esp + 0x8cc]
movzx ecx, ax
mov eax, dword [esp + 0x8d8]
movzx eax, ax
cmovle ecx, eax
movzx eax, dx
mov word [ebx + esi*2], ax
mov eax, edi
mov word [ebp + esi*2], cx
mov word [ebx + esi*2 + 2], ax
mov word [ebp + esi*2 + 2], cx
add esi, 2
jmp 0x10196aaf
movzx ecx, word [ebp]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x8d4]
movzx edi, cx
mov ecx, edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x8d8]
movzx ecx, cx
cmp word [esp + 0x44], di
jne 0x1019662a
lea ebx, [esi + esi]
mov dword [esp + 0x6c], ebx
add ebx, ebp
mov dword [esp + 0x44], ebx
mov ebx, ecx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x44]
cmp word [ebx - 2], cx
mov ebx, dword [esp + 0x10]
jne 0x10196632
mov edi, dword [esp + 0x6c]
test edx, edx
jle 0x10196607
mov eax, dword [esp + 0x8cc]
movzx eax, ax
lea edx, [edi + ebp]
mov word [edi + ebx], ax
add esi, 2
mov word [edx], cx
mov word [ebx + edi + 2], ax
mov eax, dword [esp + 0x40]
mov word [edi + ebp + 2], ax
jmp 0x10196aaf
mov eax, ecx
mov dword [esp + 0x3c], eax
jmp 0x10196636
mov eax, dword [esp + 0x3c]
movzx ecx, word [ebp]
cmp cx, ax
jne 0x1019667e
cmp word [ebp + esi*2 - 2], di
jne 0x1019667e
mov eax, dword [esp + 0x8d0]
test edx, edx
movzx ecx, ax
mov eax, dword [esp + 0x8cc]
movzx eax, ax
cmovle ecx, eax
mov eax, dword [esp + 0x3c]
mov word [ebx + esi*2], cx
mov word [ebp + esi*2], di
mov word [ebx + esi*2 + 2], cx
mov word [ebp + esi*2 + 2], ax
add esi, 2
jmp 0x10196aaf
mov edi, dword [esp + 0x8cc]
cmp word [ebx], di
jne 0x1019669c
mov eax, dword [esp + 0x60]
lea ecx, [esi + esi]
cmp word [ecx + ebp - 2], ax
jne 0x1019669c
test edx, edx
js 0x101966c1
mov eax, dword [esp + 0x8d4]
mov edi, dword [esp + 0x8cc]
cmp word [ebp], ax
jne 0x101966dc
lea ecx, [esi + esi]
movzx eax, di
cmp word [ecx + ebx - 2], ax
jne 0x101966dc
test edx, edx
jle 0x101966dc
movzx eax, di
inc esi
mov word [ecx + ebx], ax
mov eax, dword [esp + 0x8d4]
movzx eax, ax
mov word [ecx + ebp], ax
jmp 0x10196aaf
cmp word [ebx], di
jne 0x10196733
mov eax, dword [esp + 0x8d4]
movzx eax, ax
cmp word [ebp + esi*2 - 2], ax
jne 0x10196733
test edx, edx
jle 0x10196733
mov eax, dword [esp + 0x8d4]
mov edx, dword [esp + 0x8d0]
mov ecx, dword [esp + 0x8d8]
mov word [ebx + esi*2], dx
movzx eax, ax
mov word [ebp + esi*2], ax
mov word [ebx + esi*2 + 2], dx
mov word [ebp + esi*2 + 2], cx
movzx eax, di
mov word [ebx + esi*2 + 4], ax
mov word [ebp + esi*2 + 4], cx
jmp 0x10196aac
movzx edi, word [ebp]
movzx ecx, word [ebx]
movsx eax, di
cmp eax, dword [esp + 0x8d4]
jne 0x10196797
movsx eax, word [ebx + esi*2 - 2]
cmp eax, dword [esp + 0x8cc]
jne 0x10196797
test edx, edx
jns 0x10196797
mov eax, dword [esp + 0x8cc]
mov edx, dword [esp + 0x8d8]
movzx eax, ax
mov word [ebx + esi*2], ax
mov eax, dword [esp + 0x8d0]
mov word [ebp + esi*2], dx
mov word [ebx + esi*2 + 2], ax
mov word [ebp + esi*2 + 2], dx
mov word [ebx + esi*2 + 4], ax
mov eax, dword [esp + 0x8d4]
movzx eax, ax
jmp 0x10196aa7
cmp cx, word [esp + 0x8d0]
jne 0x101967b9
mov eax, dword [esp + 0x8d4]
lea ecx, [esi + esi]
movzx eax, ax
cmp word [ecx + ebp - 2], ax
jne 0x101967b9
test edx, edx
jg 0x10196833
mov eax, dword [esp + 0x8d4]
movzx eax, ax
cmp di, ax
jne 0x101967dd
mov eax, dword [esp + 0x8d0]
lea ecx, [esi + esi]
cmp word [ecx + ebx - 2], ax
jne 0x101967dd
test edx, edx
js 0x1019683a
mov edi, dword [esp + 0x8d4]
movzx eax, di
cmp word [ebp], ax
mov eax, dword [esp + 0x8d0]
jne 0x10196852
cmp word [ebx + esi*2 - 2], ax
jne 0x10196852
test edx, edx
jle 0x10196852
mov ecx, dword [esp + 0x8cc]
mov edx, dword [esp + 0x8d8]
mov word [ebx + esi*2], ax
mov word [ebp + esi*2], dx
movzx eax, cx
mov word [ebx + esi*2 + 2], ax
movzx eax, cx
mov word [ebp + esi*2 + 2], dx
mov word [ebx + esi*2 + 4], ax
movzx eax, di
jmp 0x10196aa7
mov eax, dword [esp + 0x8d0]
mov word [ecx + ebx], ax
inc esi
mov eax, dword [esp + 0x8d4]
movzx eax, ax
mov word [ecx + ebp], ax
jmp 0x10196aaf
cmp word [ebx], ax
jne 0x101968b5
movzx eax, di
cmp word [ebp + esi*2 - 2], ax
jne 0x101968a0
test edx, edx
jns 0x101968a0
mov ecx, dword [esp + 0x8cc]
movzx eax, cx
mov word [ebx + esi*2], ax
movzx eax, di
mov word [ebp + esi*2], ax
movzx eax, cx
mov ecx, dword [esp + 0x8d0]
mov word [ebx + esi*2 + 2], ax
mov eax, dword [esp + 0x8d8]
mov word [ebp + esi*2 + 2], ax
mov word [ebx + esi*2 + 4], cx
jmp 0x10196aa7
mov ecx, dword [esp + 0x8d8]
lea eax, [esi + esi]
cmp word [eax + ebp - 2], cx
jne 0x101968b5
test edx, edx
js 0x101968e1
movzx ecx, word [ebp]
mov eax, dword [esp + 0x8d8]
cmp cx, ax
jne 0x101968fd
mov edi, dword [esp + 0x8d0]
lea eax, [esi + esi]
cmp word [eax + ebx - 2], di
jne 0x101968f6
test edx, edx
jle 0x101968f6
mov ecx, dword [esp + 0x8d8]
mov edx, dword [esp + 0x8d0]
inc esi
mov word [eax + ebx], dx
mov word [eax + ebp], cx
jmp 0x10196aaf
mov eax, dword [esp + 0x8d8]
movzx edi, word [ebx]
mov ebx, dword [esp + 0x10]
cmp di, word [esp + 0x8d0]
jne 0x1019695e
cmp word [ebp + esi*2 - 2], ax
jne 0x1019695e
test edx, edx
jle 0x1019695e
mov ecx, dword [esp + 0x8cc]
mov edi, dword [esp + 0x8d4]
movzx eax, cx
mov word [ebx + esi*2], ax
mov eax, dword [esp + 0x8d8]
mov word [ebp + esi*2], ax
movzx eax, cx
mov word [ebx + esi*2 + 2], ax
movzx eax, di
mov word [ebp + esi*2 + 2], ax
mov eax, dword [esp + 0x8d0]
mov word [ebx + esi*2 + 4], ax
movzx eax, di
jmp 0x10196aa7
cmp cx, ax
jne 0x101969b3
mov eax, dword [esp + 0x8d0]
cmp word [ebx + esi*2 - 2], ax
jne 0x101969b3
test edx, edx
jns 0x101969b3
mov edx, dword [esp + 0x8d4]
mov ecx, dword [esp + 0x8cc]
mov word [ebx + esi*2], ax
movzx eax, dx
mov word [ebp + esi*2], ax
movzx eax, cx
mov word [ebx + esi*2 + 2], ax
movzx eax, dx
mov word [ebp + esi*2 + 2], ax
movzx eax, cx
mov word [ebx + esi*2 + 4], ax
mov eax, dword [esp + 0x8d8]
jmp 0x10196aa7
mov eax, dword [esp + 0x8cc]
movzx eax, ax
cmp di, ax
jne 0x101969d7
mov eax, dword [esp + 0x8d8]
lea ecx, [esi + esi]
cmp word [ecx + ebp - 2], ax
jne 0x101969d7
test edx, edx
jg 0x10196a42
mov ecx, dword [esp + 0x8d8]
mov edi, dword [esp + 0x8cc]
cmp word [ebp], cx
jne 0x10196a65
lea ecx, [esi + esi]
movzx eax, di
cmp word [ecx + ebx - 2], ax
jne 0x101969fc
test edx, edx
js 0x10196a49
movzx eax, di
cmp word [ebx + esi*2 - 2], ax
jne 0x10196a5e
test edx, edx
jle 0x10196a5e
mov ecx, dword [esp + 0x8d4]
mov edx, dword [esp + 0x8d0]
movzx eax, di
mov word [ebx + esi*2], ax
movzx eax, cx
mov word [ebp + esi*2], ax
movzx eax, cx
mov word [ebx + esi*2 + 2], dx
mov word [ebp + esi*2 + 2], ax
mov eax, dword [esp + 0x8d8]
mov word [ebx + esi*2 + 4], dx
jmp 0x10196aa7
mov edi, dword [esp + 0x8cc]
movzx eax, di
inc esi
mov word [ecx + ebx], ax
mov eax, dword [esp + 0x8d8]
mov word [ecx + ebp], ax
jmp 0x10196aaf
mov ecx, dword [esp + 0x8d8]
movzx eax, di
cmp word [ebx], ax
jne 0x10196aaf
cmp word [ebp + esi*2 - 2], cx
jne 0x10196aaf
test edx, edx
jns 0x10196aaf
mov eax, dword [esp + 0x8d0]
mov word [ebx + esi*2], ax
mov word [ebp + esi*2], cx
mov ecx, dword [esp + 0x8d4]
mov word [ebx + esi*2 + 2], ax
movzx eax, cx
mov word [ebp + esi*2 + 2], ax
movzx eax, di
mov word [ebx + esi*2 + 4], ax
movzx eax, cx
mov word [ebp + esi*2 + 4], ax
add esi, 3
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x8c]
add eax, dword [esp + 0x7c]
add eax, dword [esp + 0x80]
cmp eax, 4
jne 0x10196cee
push dword [esp + 0x2c]
push dword [esp + 0x24]
push dword [esp + 0x38]
call fcn.10195720
mov ebx, dword [esp + 0x8e0]
mov edi, eax
mov eax, dword [esp + 0x8d8]
add esp, 0xc
mov dword [esp + 0x90], eax
mov ecx, 0xffffff9d
mov eax, dword [esp + 0x8d0]
mov edx, ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov ebx, eax
mov eax, dword [esp + 0x8cc]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x24]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x8d8]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
cmp eax, 1
jne 0x10196b97
test edi, edi
jle 0x10196b80
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x38]
add eax, ecx
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x34]
jmp 0x10196b94
mov ecx, dword [esp + 0x4c]
or edx, 0xffffffff
mov eax, dword [esp + 0x34]
add eax, ecx
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x24]
lea ecx, [eax + ecx*2]
cmp dword [esp + 0x80], 2
mov eax, edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x40], ecx
jne 0x10196bf1
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
jne 0x10196c51
movsx eax, word [ebx + esi*2 - 2]
cmp eax, dword [esp + 0x8cc]
jne 0x10196be6
lea ecx, [edi - 1]
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, 3
cmp edi, 1
sete dl
lea edx, [edx*2 - 1]
jmp 0x10196c51
cmp edi, 1
jne 0x10196c49
mov edx, edi
mov ecx, edx
jmp 0x10196c51
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
jne 0x10196c51
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x10]
cmp eax, 2
jne 0x10196c51
movsx eax, word [ebp + esi*2 - 2]
cmp eax, dword [esp + 0x8d4]
jne 0x10196c3d
xor ecx, ecx
cmp edi, 1
sete cl
xor edx, edx
cmp edi, 1
sete dl
lea edx, [edx*2 - 1]
jmp 0x10196c51
cmp edi, 1
jne 0x10196c49
mov edx, edi
lea ecx, [edi + 2]
jmp 0x10196c51
mov ecx, 2
or edx, 0xffffffff
movzx eax, word [esp + ecx*4 + 0x90]
mov edi, 3
mov word [ebx + esi*2], ax
movzx eax, word [esp + ecx*4 + 0xa0]
mov word [ebp + esi*2], ax
lea eax, [edx + ecx]
xor ecx, ecx
cmp eax, 3
cmovle ecx, eax
test ecx, ecx
cmovs ecx, edi
movzx eax, word [esp + ecx*4 + 0x90]
mov word [ebx + esi*2 + 2], ax
movzx eax, word [esp + ecx*4 + 0xa0]
mov word [ebp + esi*2 + 2], ax
lea eax, [edx + ecx]
xor ecx, ecx
cmp eax, edi
cmovle ecx, eax
test ecx, ecx
cmovs ecx, edi
movzx eax, word [esp + ecx*4 + 0x90]
mov word [ebx + esi*2 + 4], ax
movzx eax, word [esp + ecx*4 + 0xa0]
mov word [ebp + esi*2 + 4], ax
lea eax, [edx + ecx]
xor ecx, ecx
cmp eax, edi
cmovle ecx, eax
test ecx, ecx
cmovs ecx, edi
movzx eax, word [esp + ecx*4 + 0x90]
mov word [ebx + esi*2 + 6], ax
movzx eax, word [esp + ecx*4 + 0xa0]
mov word [ebp + esi*2 + 6], ax
add esi, 4
cmp esi, 3
jl 0x10196d00
push esi
push ebp
push ebx
call dword [esp + 0x90]
add esp, 0xc
lea eax, [esp + 0xb0]
cmp ebx, eax
je 0x10196d1a
push ebx
call fcn.10131079
push ebp
call fcn.10131079
add esp, 8
pop edi
mov ecx, dword [esp + 0x8b4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011f88a
add esp, 0x8ac
ret