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

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
xor esi, esi
push edi
mov edi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
cmp ebp, esi
je 0x101f1d3e
cmp ecx, esi
je 0x101f1d3e
cmp eax, esi
je 0x101f1d3e
mov edx, dword [esp + 0xac]
test edx, 0xbffceff8
je 0x101f0a32
push 0x3ec
jmp 0x101f1d40
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xa0], eax
cmp eax, esi
jne 0x101f0ae2
cmp dword [esp + 0xb4], esi
je 0x101f0ac0
movzx eax, word [ecx]
cmp ax, si
jne 0x101f0a5f
cmp dword [esp + 0xb4], 0xfffffffe
je 0x101f0a9f
cmp ebx, esi
je 0x101f0a9f
movzx eax, word [edi]
cmp ax, si
jne 0x101f0a75
cmp dword [esp + 0xbc], 0xfffffffe
je 0x101f0a9f
movzx ebp, word [ecx]
cmp bp, ax
jne 0x101f0a9f
mov eax, dword [esp + 0x18]
dec eax
add ecx, 2
add edi, 2
dec ebx
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x101f0a4d
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
jmp 0x101f0ac0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x18], esi
je 0x101f0ac0
cmp word [ecx], si
jne 0x101f0adb
cmp dword [esp + 0xb4], 0xfffffffe
jne 0x101f0adb
cmp ebx, esi
je 0x101f1d2c
cmp word [edi], si
jne 0x101f0adb
cmp dword [esp + 0xbc], 0xfffffffe
je 0x101f1d2c
mov ebp, dword [esp + 0xa8]
mov eax, edx
and eax, 4
mov dword [esp + 0x68], eax
mov ecx, edx
and ecx, 2
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ecx
mov eax, edx
and eax, 0x1000
or edi, 0xffffffff
mov ecx, edx
mov dword [esp + 0x9c], eax
and ecx, 3
mov eax, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], edi
cmp ecx, 3
ja case.default.0x101f0b4b
jmp dword [ecx*4 + 0x101f1d58]
xor eax, eax
cmp dword [ebp + 0x18], esi
mov dword [esp + 0x34], edi
setne al
inc eax
or eax, 4
mov dword [esp + 0x40], eax
jmp case.default.0x101f0b4b
xor eax, eax
cmp dword [ebp + 0x18], esi
mov dword [esp + 0x34], 0xe7ffffff
setne al
inc eax
or eax, 4
mov dword [esp + 0x40], eax
jmp case.default.0x101f0b4b
mov dword [esp + 0x34], 0xff00ffff
jmp case.default.0x101f0b4b
mov dword [esp + 0x34], 0xe700ffff
mov ecx, edx
and ecx, 0x30000
cmp ecx, 0x10000
je 0x101f0be0
cmp ecx, 0x20000
je 0x101f0bca
cmp ecx, 0x30000
jne 0x101f0be8
and dword [esp + 0x34], 0xdeffffff
test dl, 1
je 0x101f0be8
and eax, 0xfffffffb
mov dword [esp + 0x40], eax
jmp 0x101f0be8
and dword [esp + 0x34], 0xfeffffff
test dl, 1
je 0x101f0be8
and eax, 0xfffffffb
mov dword [esp + 0x40], eax
jmp 0x101f0be8
and dword [esp + 0x34], 0xdfffffff
cmp dword [esp + 0x18], esi
je 0x101f1c09
lea ebx, [ebx]
mov edi, dword [esp + 0x14]
movzx eax, word [edi]
mov edx, dword [esp + 0xb4]
test ax, ax
jne 0x101f0c10
cmp edx, 0xfffffffe
je 0x101f1ca7
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0x10]
je 0x101f1cab
movzx ebp, word [esi]
test bp, bp
jne 0x101f0c35
cmp dword [esp + 0xbc], 0xfffffffe
je 0x101f1cab
cmp dword [esp + 0x20], 0xffffffff
jne 0x101f0c5f
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xc0]
push ecx
push edx
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.101f0325
mov edx, dword [esp + 0x34]
and dword [esp + 0x20], edx
mov ebx, dword [esp + 0x24]
cmp ebx, 0xffffffff
jne 0x101f0c8f
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
push ebp
call fcn.101f0325
mov ebx, dword [esp + 0x24]
and ebx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0xa0], 0
je 0x101f11e6
mov al, byte [esp + 0x23]
test al, 0xc0
jne 0x101f0cb3
mov ecx, ebx
shr ecx, 0x18
test cl, 0xc0
je 0x101f11e6
movzx ebp, al
shr ebx, 0x18
and ebp, 0xc0
and ebx, 0xc0
cmp ebp, ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov dword [esp + 0x50], ebp
jg 0x101f0cdf
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x18]
add edx, 0xffffffff
je 0x101f0d03
cmp word [edi + 2], 0
jne 0x101f0cf9
cmp dword [esp + 0xb4], 0xfffffffe
je 0x101f0d03
mov dword [esp + 0x44], 0
jmp 0x101f0d0b
mov dword [esp + 0x44], 1
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffff
je 0x101f0d2f
cmp word [esi + 2], 0
jne 0x101f0d25
cmp dword [esp + 0xbc], 0xfffffffe
je 0x101f0d2f
mov dword [esp + 0x48], 0
jmp 0x101f0d37
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0xa8]
cmp dword [eax + 0x20], 0
jne 0x101f0f31
mov eax, dword [esp + 0x50]
sub eax, 0x80
je 0x101f0e16
sub eax, 0x40
jne 0x101f11e6
test ebp, ebp
je 0x101f0d83
cmp dword [esp + 0x44], eax
jne 0x101f0d83
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
je 0x101f0d83
cmp word [edi + 4], ax
jne 0x101f0db0
cmp dword [esp + 0xb4], 0xfffffffe
jne 0x101f0db0
test ebx, ebx
je 0x101f0e16
cmp dword [esp + 0x48], 0
jne 0x101f0e16
mov edx, dword [esp + 0x1c]
add edx, 0xfffffffe
je 0x101f0e16
cmp word [esi + 4], 0
jne 0x101f0db0
cmp dword [esp + 0xbc], 0xfffffffe
je 0x101f0e16
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
mov eax, dword [eax + 0x2c]
test ecx, ecx
jle 0x101f0e16
test ebp, ebp
je 0x101f0e60
mov dx, word [eax]
cmp dx, word [edi]
jne 0x101f0e60
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x101f0e60
mov dx, word [eax + 4]
cmp dx, word [edi + 4]
jne 0x101f0e60
mov edx, dword [eax + 8]
and edx, dword [esp + 0x34]
sub dword [esp + 0x18], 2
add edi, 4
xor ebp, ebp
mov dword [esp + 0x20], edx
test ebx, ebx
jne 0x101f0e64
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
test ecx, ecx
jg 0x101f11e6
test ebp, ebp
je 0x101f0e21
cmp dword [esp + 0x44], 0
je 0x101f0e34
test ebx, ebx
je 0x101f11e6
cmp dword [esp + 0x48], 0
jne 0x101f11e6
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 8]
mov eax, dword [eax + 0x28]
test ecx, ecx
jle 0x101f11e6
lea ecx, [ecx]
test ebp, ebp
jne 0x101f0eb6
test ebx, ebx
je 0x101f11e6
jmp 0x101f0eee
test ebx, ebx
je 0x101f0e9d
mov dx, word [eax]
cmp dx, word [esi]
jne 0x101f0e9d
mov dx, word [eax + 2]
cmp dx, word [esi + 2]
jne 0x101f0e9d
mov dx, word [eax + 4]
cmp dx, word [esi + 4]
jne 0x101f0e9d
mov edx, dword [eax + 8]
and edx, dword [esp + 0x34]
sub dword [esp + 0x1c], 2
add esi, 4
xor ebx, ebx
mov dword [esp + 0x24], edx
test ebp, ebp
je 0x101f0e06
dec ecx
add eax, 0xc
test ecx, ecx
jg 0x101f0dc5
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
jmp 0x101f0e16
mov dx, word [eax]
cmp dx, word [edi]
jne 0x101f0eea
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x101f0eea
mov edx, dword [eax + 4]
and edx, dword [esp + 0x34]
dec dword [esp + 0x18]
add edi, 2
xor ebp, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
test ebx, ebx
je 0x101f11e6
jmp 0x101f0eee
test ebx, ebx
je 0x101f0f20
mov dx, word [eax]
cmp dx, word [esi]
jne 0x101f0f20
mov dx, word [eax + 2]
cmp dx, word [esi + 2]
jne 0x101f0f20
mov edx, dword [eax + 4]
and edx, dword [esp + 0x34]
dec dword [esp + 0x1c]
add esi, 2
xor ebx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], esi
test ebp, ebp
je 0x101f11e6
dec ecx
add eax, 8
test ecx, ecx
jg 0x101f0e4f
jmp 0x101f11e6
cmp dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
jne 0x101f0f6b
mov esi, dword [esp + 0x14]
movzx edi, word [esi]
xor eax, eax
cmp di, word [esi + 2]
mov esi, dword [esp + 0x10]
sete al
mov dword [esp + 0x4c], eax
test eax, eax
je 0x101f0f6b
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x48], 0
mov dword [esp + 0x30], 0
jne 0x101f0f99
movzx edi, word [esi]
xor eax, eax
cmp di, word [esi + 2]
sete al
mov dword [esp + 0x30], eax
test eax, eax
je 0x101f0f99
add esi, 2
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x50]
sub eax, 0x80
je 0x101f110c
sub eax, 0x40
jne 0x101f11c6
test ebp, ebp
je 0x101f105a
cmp dword [esp + 0x44], eax
jne 0x101f105a
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x50], eax
je 0x101f105a
mov edi, dword [esp + 0x14]
movzx esi, word [edi + 4]
test si, si
jne 0x101f0feb
cmp dword [esp + 0xb4], 0xfffffffe
je 0x101f105a
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
mov eax, dword [eax + 0x2c]
test ecx, ecx
jle 0x101f105a
movzx edx, word [edi]
cmp word [eax], dx
jne 0x101f101f
mov bx, word [eax + 2]
cmp bx, word [edi + 2]
jne 0x101f1018
cmp word [eax + 4], si
je 0x101f1029
mov ebx, dword [esp + 0x84]
dec ecx
add eax, 0xc
test ecx, ecx
jg 0x101f1003
jmp 0x101f105a
mov eax, dword [eax + 8]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x20], eax
jne 0x101f104a
mov edx, dword [esp + 0x50]
add edi, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x84]
xor ebp, ebp
mov dword [esp + 0x88], ebp
test ebx, ebx
je 0x101f1106
cmp dword [esp + 0x48], 0
jne 0x101f1106
mov edi, dword [esp + 0x1c]
add edi, 0xfffffffe
je 0x101f1106
mov eax, dword [esp + 0x10]
movzx esi, word [eax + 4]
test si, si
jne 0x101f1091
cmp dword [esp + 0xbc], 0xfffffffe
je 0x101f1106
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
mov eax, dword [eax + 0x2c]
test ecx, ecx
jle 0x101f1106
mov edx, dword [esp + 0x10]
movzx edx, word [edx]
mov edi, edi
cmp word [eax], dx
jne 0x101f10d6
mov bp, word [eax + 2]
mov ebx, dword [esp + 0x10]
cmp bp, word [ebx + 2]
jne 0x101f10c8
cmp word [eax + 4], si
je 0x101f10e0
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
dec ecx
add eax, 0xc
test ecx, ecx
jg 0x101f10af
jmp 0x101f1106
mov eax, dword [eax + 8]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
jne 0x101f10fd
add ebx, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x88]
xor ebx, ebx
test ebp, ebp
jne 0x101f1110
jmp 0x101f1169
test ebp, ebp
je 0x101f1169
cmp dword [esp + 0x44], 0
jne 0x101f1169
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 8]
mov eax, dword [eax + 0x28]
test ecx, ecx
jle 0x101f1169
mov esi, dword [esp + 0x14]
movzx edx, word [esi]
cmp word [eax], dx
jne 0x101f1142
mov di, word [eax + 2]
cmp di, word [esi + 2]
je 0x101f114c
dec ecx
add eax, 8
test ecx, ecx
jg 0x101f1133
jmp 0x101f1169
mov eax, dword [eax + 4]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x20], eax
jne 0x101f1169
add esi, 2
dec dword [esp + 0x18]
mov dword [esp + 0x14], esi
test ebx, ebx
je 0x101f11c6
cmp dword [esp + 0x48], 0
jne 0x101f11c6
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x24]
movzx ecx, word [edx + 8]
mov eax, dword [eax + 0x28]
test ecx, ecx
jle 0x101f11c6
mov esi, dword [esp + 0x10]
movzx edx, word [esi]
cmp word [eax], dx
jne 0x101f119f
mov di, word [eax + 2]
cmp di, word [esi + 2]
je 0x101f11a9
dec ecx
add eax, 8
test ecx, ecx
jg 0x101f1190
jmp 0x101f11c6
mov eax, dword [eax + 4]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
jne 0x101f11c6
add esi, 2
dec dword [esp + 0x1c]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x4c], 0
je 0x101f11d6
sub dword [esp + 0x14], 2
inc dword [esp + 0x18]
cmp dword [esp + 0x30], 0
je 0x101f11e6
sub dword [esp + 0x10], 2
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x101f1ba7
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x21]
shr ecx, 8
mov byte [esp + 0x3b], cl
mov cx, word [esp + 0x20]
movzx edx, cx
mov dword [esp + 0x48], edx
mov dx, word [esp + 0x24]
movzx esi, dx
mov bl, al
mov byte [esp + 0x2b], bl
mov dword [esp + 0x44], esi
cmp cx, dx
jne 0x101f1236
cmp al, 0xb
ja 0x101f1a8a
cmp al, 3
jb 0x101f1a8a
mov edx, 2
lea esi, [edx - 1]
test al, al
jne 0x101f1255
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov eax, 0xffffffff
mov dword [esp + 0x20], eax
jmp 0x101f1258
or eax, 0xffffffff
mov cl, byte [esp + 0x3b]
test cl, cl
jne 0x101f126c
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x64], 0
je 0x101f1295
cmp bl, 1
jne 0x101f1284
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
cmp cl, 1
jne 0x101f1295
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x6c], 0
je 0x101f12be
cmp bl, 6
jne 0x101f12ad
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
cmp cl, 6
jne 0x101f12be
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], eax
je 0x101f1bfe
cmp dword [esp + 0x24], 0xffffffff
je 0x101f1bfe
movzx eax, byte [esp + 0x2b]
dec eax
cmp eax, 0xa
ja case.0x101f12e9.4
movzx eax, byte [eax + 0x101f1d80]
jmp dword [eax*4 + 0x101f1d68]
cmp dword [esp + 0x64], 0
jne 0x101f1312
cmp dword [esp + 0x5c], 0
je 0x101f1305
test byte [esp + 0x40], 2
je 0x101f1312
and dword [esp + 0x40], 0xfffffffe
mov dword [esp + 0x5c], 3
add dword [esp + 0x14], 2
dec dword [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
jmp case.0x101f12e9.4
cmp dword [esp + 0x6c], 0
je case.0x101f12e9.4
add dword [esp + 0x14], 2
dec dword [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
jmp case.0x101f12e9.4
cmp dword [esp + 0x68], 0
je 0x101f1366
add dword [esp + 0x14], 2
dec dword [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
jmp case.0x101f12e9.4
cmp dword [esp + 0x9c], 0
jne case.0x101f12e9.4
cmp byte [esp + 0x3b], 6
je case.0x101f12e9.4
cmp dword [esp + 0x58], 0
je 0x101f13ac
add dword [esp + 0x14], 2
dec dword [esp + 0x18]
mov dword [esp + 0x58], 3
mov dword [esp + 0x68], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x101f12e9.4
add dword [esp + 0x14], 2
dec dword [esp + 0x18]
mov dword [esp + 0x54], 3
mov dword [esp + 0x20], 0xffffffff
jmp case.0x101f12e9.4
mov ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x20]
inc dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x10366478]
lea edx, [esp + 0x8c]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x28]
mov cx, word [edx + eax*4]
lea eax, [edx + eax*4]
mov dx, word [eax + 2]
mov word [esp + 0x8c], cx
mov word [esp + 0x8e], dx
mov dword [esp + 0x7c], 2
mov dword [esp + 0x20], 0xffffffff
jmp case.0x101f12e9.4
mov ebx, dword [esp + 0x20]
mov cl, byte [esp + 0x20]
shr ebx, 0x18
and bl, 0x3f
mov dword [esp + 0x3c], 0
mov eax, 0xffff0000
cmp cl, 1
ja 0x101f1561
mov esi, dword [esp + 0x14]
lea ecx, [esi - 2]
cmp ecx, dword [esp + 0xb0]
jb 0x101f1592
mov eax, dword [esp + 0xa8]
mov ax, word [eax]
mov edx, 0x3ff
and ax, dx
mov word [esp + 0x50], ax
mov ebp, 2
add esi, 0xfffffffe
mov ecx, dword [esp + 0xc0]
movzx edi, word [esi]
push ecx
lea edx, [esp + 0x98]
push edx
push edi
call fcn.101edff3
cmp word [esp + 0x50], 0x12
jne 0x101f14a5
push edi
lea eax, [esp + 0x98]
push eax
call fcn.101ee46d
mov eax, dword [esp + 0x94]
and eax, dword [esp + 0x34]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x30], eax
cmp cl, 3
jae 0x101f14ce
mov eax, 0xffff0000
cmp cl, 2
je 0x101f1592
jmp 0x101f14e1
jne 0x101f1556
mov al, byte [esp + 0x30]
cmp al, 1
ja 0x101f14fb
mov eax, 0xffff0000
mov edx, dword [esp + 0x14]
add ebp, 2
sub edx, ebp
sub esi, 2
cmp edx, dword [esp + 0xb0]
jae 0x101f1476
jmp 0x101f1592
movzx si, al
mov eax, 0x2200
or si, ax
mov al, byte [esp + 0x33]
and al, 0x3f
mov cl, al
and cl, 0xc6
mov byte [esp + 0x3c], cl
mov cl, al
and cl, 0xe4
cmp byte [esp + 0x20], 0
mov word [esp + 0x30], si
mov byte [esp + 0x3e], cl
jne 0x101f1543
movzx ecx, si
and al, 0xc5
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
mov byte [esp + 0x3d], 4
jmp 0x101f1599
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 0xff87
mov byte [esp + 0x3d], 5
jmp 0x101f1587
movzx ecx, word [esp + 0x30]
mov dword [esp + 0x48], ecx
jmp 0x101f1592
movzx dx, cl
mov ecx, 0x2200
or dx, cx
mov cl, bl
and cl, 0xc6
mov byte [esp + 0x3c], cl
mov cl, bl
and cl, 0xe4
movzx edx, dx
mov byte [esp + 0x3d], 3
mov byte [esp + 0x3e], cl
and bl, 0xc5
mov byte [esp + 0x3f], bl
mov dword [esp + 0x48], edx
cmp byte [esp + 0x20], 1
ja 0x101f15b4
cmp eax, 0xffff0000
jne 0x101f15b4
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x48], 0xffff
mov dword [esp + 0x3c], eax
jmp 0x101f15d1
mov eax, dword [esp + 0x20]
movzx ecx, word [esp + 0x48]
and eax, 0xffff0000
or eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x23], 2
cmp byte [esp + 0x3b], 3
je case.0x101f12e9.4
cmp byte [esp + 0x2c], 0
jne 0x101f15eb
cmp byte [esp + 0x3c], 0
je 0x101f15eb
mov byte [esp + 0x2c], 3
cmp byte [esp + 0x2d], 0
jne 0x101f1600
mov edx, eax
shr edx, 8
test dl, dl
je 0x101f1600
mov byte [esp + 0x2d], 3
cmp byte [esp + 0x2e], 0
jne 0x101f1615
mov ecx, eax
shr ecx, 0x10
test cl, cl
je 0x101f1615
mov byte [esp + 0x2e], 3
cmp byte [esp + 0x2f], 0
jne case.0x101f12e9.4
shr eax, 0x18
test al, al
je case.0x101f12e9.4
mov byte [esp + 0x2f], 3
movzx eax, byte [esp + 0x3b]
dec eax
cmp eax, 0xa
ja case.0x101f163e.4
movzx edx, byte [eax + 0x101f1da4]
jmp dword [edx*4 + 0x101f1d8c]
cmp dword [esp + 0x64], 0
jne 0x101f1667
cmp dword [esp + 0x5c], 0
je 0x101f165a
test byte [esp + 0x40], 2
je 0x101f1667
and dword [esp + 0x40], 0xfffffffe
mov dword [esp + 0x5c], 1
add dword [esp + 0x10], 2
dec dword [esp + 0x1c]
mov dword [esp + 0x24], 0xffffffff
jmp case.0x101f163e.4
cmp dword [esp + 0x6c], 0
je case.0x101f163e.4
add dword [esp + 0x10], 2
dec dword [esp + 0x1c]
mov dword [esp + 0x24], 0xffffffff
jmp case.0x101f163e.4
cmp dword [esp + 0x68], 0
je 0x101f16bb
add dword [esp + 0x10], 2
dec dword [esp + 0x1c]
mov dword [esp + 0x24], 0xffffffff
jmp case.0x101f163e.4
cmp dword [esp + 0x9c], 0
jne case.0x101f163e.4
cmp byte [esp + 0x2b], 6
je 0x101f16fc
cmp dword [esp + 0x54], 0
mov eax, 1
je 0x101f16e2
mov dword [esp + 0x54], eax
jmp 0x101f174a
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x101f163e.4
cmp dword [esp + 0x54], 0
je 0x101f170e
mov eax, 1
mov dword [esp + 0x54], eax
jmp 0x101f1739
cmp dword [esp + 0x58], 0
je 0x101f171f
mov dword [esp + 0x58], 3
jmp 0x101f1734
movzx eax, byte [esp + 0x20]
cmp al, byte [esp + 0x24]
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
mov dword [esp + 0x54], eax
mov eax, 1
add dword [esp + 0x14], 2
sub dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xffffffff
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x101f163e.4
mov ecx, dword [esp + 0x10]
movzx eax, byte [esp + 0x24]
inc dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x10366478]
lea edx, [esp + 0x90]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0x28]
mov cx, word [edx + eax*4]
lea eax, [edx + eax*4]
mov dx, word [eax + 2]
mov word [esp + 0x90], cx
mov word [esp + 0x92], dx
mov dword [esp + 0x78], 2
mov dword [esp + 0x24], 0xffffffff
jmp case.0x101f163e.4
mov ebx, dword [esp + 0x24]
shr ebx, 0x18
and bl, 0x3f
cmp byte [esp + 0x24], 1
mov dword [esp + 0x30], 0
mov eax, 0xffff0000
ja 0x101f193e
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffe
cmp ecx, dword [esp + 0xb8]
jb 0x101f1863
mov eax, dword [esp + 0xa8]
mov ax, word [eax]
mov esi, dword [esp + 0x10]
mov edx, 0x3ff
and ax, dx
mov word [esp + 0x50], ax
mov ebp, 2
add esi, 0xfffffffe
mov ecx, dword [esp + 0xc0]
movzx edi, word [esi]
push ecx
lea edx, [esp + 0x9c]
push edx
push edi
call fcn.101edff3
cmp word [esp + 0x50], 0x12
jne 0x101f1840
push edi
lea eax, [esp + 0x9c]
push eax
call fcn.101ee46d
mov eax, dword [esp + 0x98]
and eax, dword [esp + 0x34]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x4c], eax
cmp cl, 3
jae 0x101f1896
mov eax, 0xffff0000
cmp cl, 2
jne 0x101f18a9
mov cl, byte [esp + 0x30]
cmp byte [esp + 0x24], 1
ja 0x101f1976
cmp eax, 0xffff0000
jne 0x101f1976
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x44], 0xffff
mov dword [esp + 0x30], eax
mov cl, al
jmp 0x101f1993
jne 0x101f1930
mov al, byte [esp + 0x4c]
cmp al, 1
ja 0x101f18c4
mov eax, 0xffff0000
mov edx, dword [esp + 0x10]
add ebp, 2
sub edx, ebp
sub esi, 2
cmp edx, dword [esp + 0xb8]
jae 0x101f1811
jmp 0x101f1863
movzx si, al
mov eax, 0x2200
or si, ax
mov al, byte [esp + 0x4f]
and al, 0x3f
mov cl, al
mov dl, al
and cl, 0xc6
and dl, 0xe4
cmp byte [esp + 0x24], 0
mov word [esp + 0x4c], si
mov byte [esp + 0x30], cl
mov byte [esp + 0x32], dl
jne 0x101f190f
movzx edx, si
and al, 0xc5
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
mov byte [esp + 0x31], 4
jmp 0x101f1872
mov eax, dword [esp + 0x4c]
mov edx, eax
and edx, 0xff87
and bl, 0xc5
mov dword [esp + 0x44], edx
mov byte [esp + 0x31], 5
mov byte [esp + 0x33], bl
jmp 0x101f1867
movzx ecx, word [esp + 0x4c]
mov dword [esp + 0x44], ecx
jmp 0x101f1863
movzx dx, byte [esp + 0x24]
mov ecx, 0x2200
or dx, cx
movzx edx, dx
mov dword [esp + 0x44], edx
mov cl, bl
mov dl, bl
and cl, 0xc6
and dl, 0xe4
and bl, 0xc5
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], 3
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], bl
jmp 0x101f1867
mov eax, dword [esp + 0x24]
movzx edx, word [esp + 0x44]
and eax, 0xffff0000
or eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x27], 2
cmp byte [esp + 0x2b], 3
je 0x101f19ed
cmp byte [esp + 0x2c], 0
jne 0x101f19aa
test cl, cl
je 0x101f19aa
mov byte [esp + 0x2c], 1
cmp byte [esp + 0x2d], 0
jne 0x101f19bf
mov ecx, eax
shr ecx, 8
test cl, cl
je 0x101f19bf
mov byte [esp + 0x2d], 1
cmp byte [esp + 0x2e], 0
jne 0x101f19d4
mov edx, eax
shr edx, 0x10
test dl, dl
je 0x101f19d4
mov byte [esp + 0x2e], 1
cmp byte [esp + 0x2f], 0
jne case.0x101f163e.4
shr eax, 0x18
test al, al
je case.0x101f163e.4
mov byte [esp + 0x2f], 1
jmp case.0x101f163e.4
cmp byte [esp + 0x2c], 0
jne 0x101f1a07
mov dl, byte [esp + 0x3c]
cmp dl, cl
je 0x101f1a07
setae cl
lea ecx, [ecx + ecx + 1]
mov byte [esp + 0x2c], cl
cmp byte [esp + 0x2d], 0
jne 0x101f1a26
mov dl, byte [esp + 0x3d]
mov ecx, eax
shr ecx, 8
cmp dl, cl
je 0x101f1a26
setae cl
lea ecx, [ecx + ecx + 1]
mov byte [esp + 0x2d], cl
cmp byte [esp + 0x2e], 0
jne 0x101f1a45
mov dl, byte [esp + 0x3e]
mov ecx, eax
shr ecx, 0x10
cmp dl, cl
je 0x101f1a45
setae cl
lea ecx, [ecx + ecx + 1]
mov byte [esp + 0x2e], cl
cmp byte [esp + 0x2f], 0
jne case.0x101f163e.4
mov cl, byte [esp + 0x3f]
shr eax, 0x18
cmp cl, al
je case.0x101f163e.4
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x2f], al
or eax, 0xffffffff
cmp dword [esp + 0x20], eax
je 0x101f1bfe
cmp dword [esp + 0x24], eax
je 0x101f1bfe
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
cmp cx, ax
jne 0x101f1c92
test byte [esp + 0x40], 3
je 0x101f1b7d
mov al, byte [esp + 0x22]
mov cl, byte [esp + 0x26]
mov byte [esp + 0x2b], al
mov bl, cl
cmp al, cl
je 0x101f1b7d
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
test eax, eax
je 0x101f1b0a
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x14]
movzx eax, word [esi + 2]
test ax, ax
jne 0x101f1acf
cmp ebp, 0xfffffffe
je 0x101f1b02
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xc0]
push ecx
push edx
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.101f0325
cmp byte [esp + 0x61], 1
jne 0x101f1b02
mov dl, byte [esp + 0x62]
add byte [esp + 0x2b], dl
dec edi
add esi, 2
cmp edi, 1
jne 0x101f1ac1
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x1c]
lea eax, [edi - 1]
test eax, eax
je 0x101f1b63
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0xc0]
movzx eax, word [esi + 2]
test ax, ax
jne 0x101f1b33
cmp dword [esp + 0xbc], 0xfffffffe
je 0x101f1b5b
mov ecx, dword [esp + 0xa8]
push ecx
push ebp
lea edx, [esp + 0x68]
push edx
push eax
call fcn.101f0325
cmp byte [esp + 0x61], 1
jne 0x101f1b5b
add bl, byte [esp + 0x62]
dec edi
add esi, 2
cmp edi, 1
jne 0x101f1b20
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
movzx eax, byte [esp + 0x2b]
cmp al, bl
je 0x101f1b7d
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
and dword [esp + 0x40], 0xfffffffe
mov dword [esp + 0x5c], eax
test byte [esp + 0x40], 4
je 0x101f1ba7
movzx eax, byte [esp + 0x27]
mov cl, byte [esp + 0x23]
and al, 0x3f
and cl, 0x3f
cmp cl, al
je 0x101f1ba7
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
and dword [esp + 0x40], 0xfffffffb
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
xor ecx, ecx
lea edx, [ecx + 1]
cmp eax, ecx
je 0x101f1bc2
sub dword [esp + 0x7c], edx
jne 0x101f1bc2
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x80]
cmp eax, ecx
je 0x101f1bde
sub dword [esp + 0x78], edx
jne 0x101f1bde
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], ecx
sub dword [esp + 0x18], edx
sub dword [esp + 0x1c], edx
mov eax, 2
add dword [esp + 0x14], eax
add dword [esp + 0x10], eax
or eax, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x18], 0
jne 0x101f0bf4
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x101f1cd0
cmp word [esi], 0
jne 0x101f1c2d
cmp dword [esp + 0xbc], 0xfffffffe
je 0x101f1cd0
mov edx, dword [esp + 0xbc]
mov edi, esi
mov eax, 1
mov esi, dword [esp + 0xa8]
push esi
mov esi, dword [esp + 0xc4]
push esi
mov esi, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x84]
push esi
lea esi, [esp + 0x44]
push esi
push eax
push edx
push edi
push ecx
call fcn.101f0853
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x1c
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop ebp
add eax, 3
pop ebx
add esp, 0x94
ret 0x1c
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x101f1c0d
cmp word [edi], 0
jne 0x101f1cc6
cmp edx, 0xfffffffe
je 0x101f1c0d
mov eax, 3
jmp 0x101f1c3b
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x101f1d48
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x101f1d48
cmp dword [esp + 0x2c], eax
je 0x101f1d1c
cmp dword [esp + 0x64], eax
jne 0x101f1d0c
mov al, byte [esp + 0x2c]
test al, al
je 0x101f1d04
pop edi
pop esi
pop ebp
movzx eax, al
pop ebx
add esp, 0x94
ret 0x1c
mov al, byte [esp + 0x2d]
test al, al
jne 0x101f1cf4
mov al, byte [esp + 0x2e]
test al, al
jne 0x101f1cf4
mov al, byte [esp + 0x2f]
test al, al
jne 0x101f1cf4
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x101f1d48
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x101f1d48
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x94
ret 0x1c
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x1c