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

Disassembly:
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x90]
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
push esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xac]
xor ebp, ebp
cmp ecx, ebp
push edi
mov edi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
je 0x6002fdb8
cmp esi, ebp
je 0x6002fdb8
cmp eax, ebp
je 0x6002fdb8
mov edx, dword [esp + 0xa4]
test edx, 0xbffceff8
je 0x6002eac9
push 0x3ec
jmp 0x6002fdba
mov eax, dword [ecx + 0x1c]
cmp eax, ebp
mov dword [esp + 0x94], eax
jne 0x6002eb75
cmp dword [esp + 0xac], ebp
je 0x6002eb5a
movzx ecx, word [esi]
cmp cx, bp
jne 0x6002eaf6
cmp dword [esp + 0xac], 0xfffffffe
je 0x6002eb39
cmp ebx, ebp
je 0x6002eb39
movzx eax, word [edi]
cmp ax, bp
jne 0x6002eb0e
xor ebp, ebp
cmp dword [esp + 0xb4], 0xfffffffe
je 0x6002eb39
cmp cx, ax
jne 0x6002eb39
mov eax, dword [esp + 0x18]
sub eax, 1
add esi, 2
add edi, 2
sub ebx, 1
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x6002eae4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
jmp 0x6002eb5a
cmp dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
je 0x6002eb5a
cmp word [esi], bp
jne 0x6002eb75
cmp dword [esp + 0xac], 0xfffffffe
jne 0x6002eb75
cmp ebx, ebp
je 0x6002fda6
cmp word [edi], bp
jne 0x6002eb75
cmp dword [esp + 0xb4], 0xfffffffe
je 0x6002fda6
mov eax, edx
and eax, 4
mov dword [esp + 0x60], eax
mov ecx, edx
and ecx, 2
mov dword [esp + 0x70], eax
mov dword [esp + 0x5c], ecx
mov eax, edx
and eax, 0x1000
or esi, 0xffffffff
mov ecx, edx
mov dword [esp + 0x90], eax
and ecx, 3
cmp ecx, 3
mov eax, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], esi
ja case.default.0x6002ebde
jmp dword [ecx*4 + 0x6002fdd0]
mov ecx, dword [esp + 0xa0]
xor eax, eax
cmp dword [ecx + 0x18], ebp
mov dword [esp + 0x34], esi
setne al
add eax, 1
or eax, 4
mov dword [esp + 0x3c], eax
jmp case.default.0x6002ebde
mov ecx, dword [esp + 0xa0]
xor eax, eax
cmp dword [ecx + 0x18], ebp
mov dword [esp + 0x34], 0xe7ffffff
setne al
add eax, 1
or eax, 4
mov dword [esp + 0x3c], eax
jmp case.default.0x6002ebde
mov dword [esp + 0x34], 0xff00ffff
jmp case.default.0x6002ebde
mov dword [esp + 0x34], 0xe700ffff
mov ecx, edx
and ecx, 0x30000
cmp ecx, 0x10000
je 0x6002ec85
cmp ecx, 0x20000
je 0x6002ec6f
cmp ecx, 0x30000
jne 0x6002ec8d
and dword [esp + 0x34], 0xdeffffff
test dl, 1
je 0x6002ec8d
and eax, 0xfffffffb
mov dword [esp + 0x3c], eax
jmp 0x6002ec8d
and dword [esp + 0x34], 0xfeffffff
test dl, 1
je 0x6002ec8d
and eax, 0xfffffffb
mov dword [esp + 0x3c], eax
jmp 0x6002ec8d
and dword [esp + 0x34], 0xdfffffff
cmp dword [esp + 0x18], ebp
je 0x6002fc83
mov esi, dword [esp + 0x14]
movzx eax, word [esi]
test ax, ax
mov edx, dword [esp + 0xac]
jne 0x6002ecb3
cmp edx, 0xfffffffe
je 0x6002fd1e
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x10]
je 0x6002fd22
movzx ebx, word [edi]
test bx, bx
jne 0x6002ecd8
cmp dword [esp + 0xb4], 0xfffffffe
je 0x6002fd22
cmp dword [esp + 0x20], 0xffffffff
jne 0x6002ed02
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xb8]
push edx
push ecx
lea edx, [esp + 0x28]
push edx
push eax
call fcn.6002e4fd
mov eax, dword [esp + 0x34]
and dword [esp + 0x20], eax
mov esi, dword [esp + 0x24]
cmp esi, 0xffffffff
jne 0x6002ed32
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xb8]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.6002e4fd
mov esi, dword [esp + 0x24]
and esi, dword [esp + 0x34]
mov dword [esp + 0x24], esi
cmp dword [esp + 0x94], 0
je 0x6002f2a8
movzx eax, byte [esp + 0x23]
test al, 0xc0
jne 0x6002ed57
mov ecx, esi
shr ecx, 0x18
test cl, 0xc0
je 0x6002f2a8
mov ebp, esi
and eax, 0xc0
shr ebp, 0x18
mov ebx, eax
and ebp, 0xc0
cmp ebx, ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x64], ebx
jg 0x6002ed80
mov dword [esp + 0x64], ebp
mov edx, dword [esp + 0x18]
add edx, 0xffffffff
je 0x6002eda8
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jne 0x6002ed9e
cmp dword [esp + 0xac], 0xfffffffe
je 0x6002eda8
mov dword [esp + 0x48], 0
jmp 0x6002edb0
mov dword [esp + 0x48], 1
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffff
je 0x6002edd4
cmp word [edi + 2], 0
jne 0x6002edca
cmp dword [esp + 0xb4], 0xfffffffe
je 0x6002edd4
mov dword [esp + 0x4c], 0
jmp 0x6002eddc
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0xa0]
cmp dword [eax + 0x20], 0
jne 0x6002effc
mov eax, dword [esp + 0x64]
sub eax, 0x80
je 0x6002eecf
sub eax, 0x40
jne 0x6002f2a8
test ebx, ebx
je 0x6002ee2e
cmp dword [esp + 0x48], 0
jne 0x6002ee2e
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
je 0x6002ee2e
mov edx, dword [esp + 0x14]
cmp word [edx + 4], 0
jne 0x6002ee5f
cmp dword [esp + 0xac], 0xfffffffe
jne 0x6002ee5f
test ebp, ebp
je 0x6002eecf
cmp dword [esp + 0x4c], 0
jne 0x6002eecf
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffe
je 0x6002eecf
cmp word [edi + 4], 0
jne 0x6002ee5f
cmp dword [esp + 0xb4], 0xfffffffe
je 0x6002eecf
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
test ecx, ecx
mov eax, dword [eax + 0x2c]
jle 0x6002eecf
lea ecx, [ecx]
test ebx, ebx
je 0x6002ef1b
mov dx, word [eax]
mov edi, dword [esp + 0x14]
cmp dx, word [edi]
jne 0x6002ef17
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x6002ef17
mov dx, word [eax + 4]
cmp dx, word [edi + 4]
jne 0x6002ef17
mov edx, dword [eax + 8]
and edx, dword [esp + 0x34]
sub dword [esp + 0x18], 2
add edi, 4
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
jne 0x6002ef1f
test ecx, ecx
mov dword [esp + 0x24], esi
jg 0x6002f2a8
test ebx, ebx
je 0x6002eeda
cmp dword [esp + 0x48], 0
je 0x6002eeed
test ebp, ebp
je 0x6002f2a8
cmp dword [esp + 0x4c], 0
jne 0x6002f2a8
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 8]
test ecx, ecx
mov eax, dword [eax + 0x28]
jle 0x6002f2a8
test ebx, ebx
jne 0x6002ef6f
test ebp, ebp
je 0x6002f2a8
jmp 0x6002efb0
mov edi, dword [esp + 0x10]
test ebp, ebp
je 0x6002ef58
mov dx, word [eax]
cmp dx, word [edi]
jne 0x6002ef58
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x6002ef58
mov dx, word [eax + 4]
cmp dx, word [edi + 4]
jne 0x6002ef58
mov esi, dword [eax + 8]
and esi, dword [esp + 0x34]
sub dword [esp + 0x1c], 2
add edi, 4
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x10], edi
je 0x6002eec3
sub ecx, 1
add eax, 0xc
test ecx, ecx
jg 0x6002ee76
mov dword [esp + 0x24], esi
jmp 0x6002eecf
mov dx, word [eax]
mov edi, dword [esp + 0x14]
cmp dx, word [edi]
jne 0x6002efa8
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x6002efa8
mov edx, dword [eax + 4]
and edx, dword [esp + 0x34]
sub dword [esp + 0x18], 1
add edi, 2
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
je 0x6002f2a8
jmp 0x6002efac
test ebp, ebp
je 0x6002efe5
mov edi, dword [esp + 0x10]
mov dx, word [eax]
cmp dx, word [edi]
jne 0x6002efe9
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x6002efe9
mov esi, dword [eax + 4]
and esi, dword [esp + 0x34]
sub dword [esp + 0x1c], 1
add edi, 2
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], edi
je 0x6002f2a8
jmp 0x6002efe9
mov edi, dword [esp + 0x10]
sub ecx, 1
add eax, 8
test ecx, ecx
jg 0x6002ef06
jmp 0x6002f2a8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x28], 0
jne 0x6002f034
mov esi, dword [esp + 0x14]
movzx edi, word [esi]
xor eax, eax
cmp di, word [esi + 2]
mov edi, dword [esp + 0x10]
sete al
test eax, eax
mov dword [esp + 0x28], eax
je 0x6002f034
mov eax, esi
add eax, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x6c], 0
jne 0x6002f062
movzx esi, word [edi]
xor eax, eax
cmp si, word [edi + 2]
sete al
test eax, eax
mov dword [esp + 0x6c], eax
je 0x6002f062
add edi, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x64]
sub eax, 0x80
je 0x6002f1c2
sub eax, 0x40
jne 0x6002f282
test ebx, ebx
je 0x6002f115
cmp dword [esp + 0x48], 0
jne 0x6002f115
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x64], eax
je 0x6002f115
mov edi, dword [esp + 0x14]
movzx esi, word [edi + 4]
test si, si
jne 0x6002f0b1
cmp dword [esp + 0xac], 0xfffffffe
je 0x6002f115
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
test ecx, ecx
mov eax, dword [eax + 0x2c]
jle 0x6002f115
movzx edx, word [edi]
cmp word [eax], dx
jne 0x6002f0e2
mov bx, word [eax + 2]
cmp bx, word [edi + 2]
jne 0x6002f0de
cmp word [eax + 4], si
je 0x6002f0ee
mov ebx, dword [esp + 0x40]
sub ecx, 1
add eax, 0xc
test ecx, ecx
jg 0x6002f0c9
jmp 0x6002f115
mov eax, dword [eax + 8]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
jne 0x6002f10f
mov edx, dword [esp + 0x64]
add edi, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
xor ebx, ebx
mov dword [esp + 0x40], ebx
test ebp, ebp
je 0x6002f1bc
cmp dword [esp + 0x4c], 0
jne 0x6002f1bc
mov edi, dword [esp + 0x1c]
add edi, 0xfffffffe
je 0x6002f1bc
mov eax, dword [esp + 0x10]
movzx esi, word [eax + 4]
test si, si
jne 0x6002f14c
cmp dword [esp + 0xb4], 0xfffffffe
je 0x6002f1bc
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
test ecx, ecx
mov eax, dword [eax + 0x2c]
jle 0x6002f1bc
mov edx, dword [esp + 0x10]
movzx edx, word [edx]
nop
cmp word [eax], dx
jne 0x6002f18d
mov bp, word [eax + 2]
mov ebx, dword [esp + 0x10]
cmp bp, word [ebx + 2]
jne 0x6002f182
cmp word [eax + 4], si
je 0x6002f199
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x98]
sub ecx, 1
add eax, 0xc
test ecx, ecx
jg 0x6002f169
jmp 0x6002f1bc
mov eax, dword [eax + 8]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x24], eax
jne 0x6002f1b6
add ebx, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x40]
xor ebp, ebp
test ebx, ebx
jne 0x6002f1c6
jmp 0x6002f222
test ebx, ebx
je 0x6002f222
cmp dword [esp + 0x48], 0
jne 0x6002f222
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 8]
test ecx, ecx
mov eax, dword [eax + 0x28]
jle 0x6002f222
mov esi, dword [esp + 0x14]
movzx edx, word [esi]
cmp word [eax], dx
jne 0x6002f1f8
mov di, word [eax + 2]
cmp di, word [esi + 2]
je 0x6002f204
sub ecx, 1
add eax, 8
test ecx, ecx
jg 0x6002f1e9
jmp 0x6002f222
mov eax, dword [eax + 4]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
jne 0x6002f222
add esi, 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], esi
test ebp, ebp
je 0x6002f282
cmp dword [esp + 0x4c], 0
jne 0x6002f282
mov eax, dword [esp + 0xa0]
mov edx, dword [eax + 0x24]
movzx ecx, word [edx + 8]
test ecx, ecx
mov eax, dword [eax + 0x28]
jle 0x6002f282
mov esi, dword [esp + 0x10]
movzx edx, word [esi]
cmp word [eax], dx
jne 0x6002f258
mov di, word [eax + 2]
cmp di, word [esi + 2]
je 0x6002f264
sub ecx, 1
add eax, 8
test ecx, ecx
jg 0x6002f249
jmp 0x6002f282
mov eax, dword [eax + 4]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x24], eax
jne 0x6002f282
add esi, 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x10], esi
cmp dword [esp + 0x28], 0
je 0x6002f293
sub dword [esp + 0x14], 2
add dword [esp + 0x18], 1
cmp dword [esp + 0x6c], 0
mov esi, dword [esp + 0x24]
je 0x6002f2a8
sub dword [esp + 0x10], 2
add dword [esp + 0x1c], 1
cmp dword [esp + 0x20], esi
je 0x6002fc22
mov dx, word [esp + 0x20]
mov al, byte [esp + 0x21]
mov ecx, dword [esp + 0x24]
movzx esi, dx
mov dword [esp + 0x4c], esi
mov si, word [esp + 0x24]
movzx edi, si
shr ecx, 8
cmp dx, si
mov bl, al
mov byte [esp + 0x2f], bl
mov byte [esp + 0x47], cl
mov dword [esp + 0x48], edi
jne 0x6002f2f4
cmp al, 0xb
ja 0x6002fafa
cmp al, 3
jb 0x6002fafa
test al, al
mov edx, 2
mov esi, 1
jne 0x6002f313
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
or eax, 0xffffffff
mov dword [esp + 0x20], eax
jmp 0x6002f316
or eax, 0xffffffff
test cl, cl
jne 0x6002f326
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x5c], 0
je 0x6002f34f
cmp bl, 1
jne 0x6002f33e
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
cmp cl, 1
jne 0x6002f34f
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x70], 0
je 0x6002f378
cmp bl, 6
jne 0x6002f367
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
cmp cl, 6
jne 0x6002f378
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], eax
je 0x6002fc78
cmp dword [esp + 0x24], 0xffffffff
je 0x6002fc78
movzx eax, byte [esp + 0x2f]
add eax, 0xffffffff
cmp eax, 0xa
ja case.0x6002f3a5.3
movzx eax, byte [eax + 0x6002fdf8]
jmp dword [eax*4 + 0x6002fde0]
cmp dword [esp + 0x5c], 0
jne 0x6002f3ce
cmp dword [esp + 0x54], 0
je 0x6002f3c1
test byte [esp + 0x3c], 2
je 0x6002f3ce
and dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x54], 3
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x6002f3a5.3
cmp dword [esp + 0x70], 0
je case.0x6002f3a5.3
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x6002f3a5.3
cmp dword [esp + 0x60], 0
je 0x6002f425
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x6002f3a5.3
cmp dword [esp + 0x90], 0
jne case.0x6002f3a5.3
cmp cl, 6
je case.0x6002f3a5.3
cmp dword [esp + 0x58], 0
je 0x6002f46a
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x58], 3
mov dword [esp + 0x60], 1
mov dword [esp + 0x20], 0xffffffff
jmp case.0x6002f3a5.3
add dword [esp + 0x14], 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x50], 3
mov dword [esp + 0x20], 0xffffffff
jmp case.0x6002f3a5.3
mov ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x20]
add dword [esp + 0x18], 1
mov dword [esp + 0x74], ecx
mov ecx, dword [0x60040408]
lea edx, [esp + 0x88]
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 + 0x88], cx
mov word [esp + 0x8a], dx
mov dword [esp + 0x80], 2
mov dword [esp + 0x20], 0xffffffff
jmp case.0x6002f3a5.3
mov ebx, dword [esp + 0x20]
mov al, byte [esp + 0x20]
shr ebx, 0x18
and bl, 0x3f
cmp al, 1
mov ecx, 0xffff0000
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], ecx
ja 0x6002f5fe
mov esi, dword [esp + 0x14]
lea eax, [esi - 2]
cmp eax, dword [esp + 0xa8]
jb 0x6002f629
mov ebp, dword [esp + 0xb8]
mov edi, 2
add esi, 0xfffffffe
mov ecx, dword [esp + 0xa0]
movzx eax, word [esi]
push ecx
push ebp
lea edx, [esp + 0x30]
push edx
push eax
call fcn.6002e4fd
mov ecx, dword [esp + 0x28]
and ecx, dword [esp + 0x34]
mov eax, ecx
shr eax, 8
cmp al, 3
mov dword [esp + 0x28], ecx
jae 0x6002f567
cmp al, 2
mov ecx, 0xffff0000
je 0x6002f629
jmp 0x6002f57a
jne 0x6002f5f3
mov al, byte [esp + 0x28]
cmp al, 1
ja 0x6002f598
mov ecx, 0xffff0000
mov edx, dword [esp + 0x14]
add edi, 2
sub edx, edi
sub esi, 2
cmp edx, dword [esp + 0xa8]
mov dword [esp + 0x28], ecx
jae 0x6002f52c
jmp 0x6002f629
movzx si, al
mov al, byte [esp + 0x2b]
and al, 0x3f
mov cl, al
and cl, 0xc6
mov byte [esp + 0x38], cl
mov cl, al
or si, 0x2200
and cl, 0xe4
cmp byte [esp + 0x20], 0
mov word [esp + 0x28], si
mov byte [esp + 0x3a], cl
jne 0x6002f5dd
movzx ecx, si
and al, 0xc5
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x39], 4
mov byte [esp + 0x3b], al
jmp 0x6002f630
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 0xff87
mov dword [esp + 0x4c], eax
mov byte [esp + 0x39], 5
jmp 0x6002f622
movzx edx, word [esp + 0x28]
mov dword [esp + 0x4c], edx
jmp 0x6002f629
movzx ax, al
or ax, 0x2200
movzx edx, ax
mov al, bl
and al, 0xc6
mov byte [esp + 0x38], al
mov al, bl
and al, 0xe4
mov dword [esp + 0x4c], edx
mov byte [esp + 0x39], 3
mov byte [esp + 0x3a], al
and bl, 0xc5
mov byte [esp + 0x3b], bl
cmp byte [esp + 0x20], 1
ja 0x6002f64c
cmp ecx, 0xffff0000
jne 0x6002f64c
xor eax, eax
mov dword [esp + 0x4c], 0xffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
jmp 0x6002f669
mov eax, dword [esp + 0x20]
movzx ecx, word [esp + 0x4c]
and eax, 0xffff0000
or eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0x23], 2
cmp byte [esp + 0x47], 3
je case.0x6002f3a5.3
cmp byte [esp + 0x30], 0
jne 0x6002f683
cmp byte [esp + 0x38], 0
je 0x6002f683
mov byte [esp + 0x30], 3
cmp byte [esp + 0x31], 0
jne 0x6002f698
mov edx, eax
shr edx, 8
test dl, dl
je 0x6002f698
mov byte [esp + 0x31], 3
cmp byte [esp + 0x32], 0
jne 0x6002f6ad
mov ecx, eax
shr ecx, 0x10
test cl, cl
je 0x6002f6ad
mov byte [esp + 0x32], 3
cmp byte [esp + 0x33], 0
jne case.0x6002f3a5.3
shr eax, 0x18
test al, al
je case.0x6002f3a5.3
mov byte [esp + 0x33], 3
movzx eax, byte [esp + 0x47]
add eax, 0xffffffff
cmp eax, 0xa
ja case.0x6002f6d8.3
movzx edx, byte [eax + 0x6002fe28]
jmp dword [edx*4 + 0x6002fe10]
cmp dword [esp + 0x5c], 0
jne 0x6002f701
cmp dword [esp + 0x54], 0
je 0x6002f6f4
test byte [esp + 0x3c], 2
je 0x6002f701
and dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x54], 1
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x24], 0xffffffff
jmp case.0x6002f6d8.3
cmp dword [esp + 0x70], 0
je case.0x6002f6d8.3
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x24], 0xffffffff
jmp case.0x6002f6d8.3
cmp dword [esp + 0x60], 0
je 0x6002f758
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x24], 0xffffffff
jmp case.0x6002f6d8.3
cmp dword [esp + 0x90], 0
jne case.0x6002f6d8.3
cmp byte [esp + 0x2f], 6
je 0x6002f799
cmp dword [esp + 0x50], 0
mov eax, 1
je 0x6002f77f
mov dword [esp + 0x50], eax
jmp 0x6002f7e7
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x6002f6d8.3
cmp dword [esp + 0x50], 0
je 0x6002f7ab
mov eax, 1
mov dword [esp + 0x50], eax
jmp 0x6002f7d6
cmp dword [esp + 0x58], 0
je 0x6002f7bc
mov dword [esp + 0x58], 3
jmp 0x6002f7d1
movzx eax, byte [esp + 0x20]
cmp al, byte [esp + 0x24]
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
mov dword [esp + 0x50], 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 + 0x60], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x6002f6d8.3
mov ecx, dword [esp + 0x10]
movzx eax, byte [esp + 0x24]
add dword [esp + 0x1c], 1
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x60040408]
lea edx, [esp + 0x8c]
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 + 0x8c], cx
mov word [esp + 0x8e], dx
mov dword [esp + 0x78], 2
mov dword [esp + 0x24], 0xffffffff
jmp case.0x6002f6d8.3
mov ebx, dword [esp + 0x24]
mov al, byte [esp + 0x24]
shr ebx, 0x18
and bl, 0x3f
cmp al, 1
mov ecx, 0xffff0000
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], ecx
ja 0x6002f9b0
mov esi, dword [esp + 0x10]
lea eax, [esi - 2]
cmp eax, dword [esp + 0xb0]
jb 0x6002f8d2
mov ebp, dword [esp + 0xb8]
mov edi, 2
add esi, 0xfffffffe
mov ecx, dword [esp + 0xa0]
movzx eax, word [esi]
push ecx
push ebp
lea edx, [esp + 0x48]
push edx
push eax
call fcn.6002e4fd
mov ecx, dword [esp + 0x40]
and ecx, dword [esp + 0x34]
mov eax, ecx
shr eax, 8
cmp al, 3
mov dword [esp + 0x40], ecx
jae 0x6002f908
cmp al, 2
mov ecx, 0xffff0000
jne 0x6002f91b
mov dl, byte [esp + 0x28]
cmp byte [esp + 0x24], 1
ja 0x6002f9e1
cmp ecx, 0xffff0000
jne 0x6002f9e1
xor esi, esi
mov dword [esp + 0x28], esi
mov dl, byte [esp + 0x28]
mov dword [esp + 0x48], 0xffff
mov dword [esp + 0x24], ecx
jmp 0x6002f9ff
jne 0x6002f9a2
mov al, byte [esp + 0x40]
cmp al, 1
ja 0x6002f93a
mov ecx, 0xffff0000
mov edx, dword [esp + 0x10]
add edi, 2
sub edx, edi
sub esi, 2
cmp edx, dword [esp + 0xb0]
mov dword [esp + 0x40], ecx
jae 0x6002f89d
jmp 0x6002f8d2
movzx si, al
mov al, byte [esp + 0x43]
and al, 0x3f
mov dl, al
mov cl, al
or si, 0x2200
and dl, 0xc6
and cl, 0xe4
cmp byte [esp + 0x24], 0
mov word [esp + 0x40], si
mov byte [esp + 0x28], dl
mov byte [esp + 0x2a], cl
jne 0x6002f982
movzx ecx, si
and al, 0xc5
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x29], 4
mov byte [esp + 0x2b], al
jmp 0x6002f8e1
mov ecx, dword [esp + 0x40]
mov eax, ecx
and eax, 0xff87
and bl, 0xc5
mov dword [esp + 0x48], eax
mov byte [esp + 0x29], 5
mov byte [esp + 0x2b], bl
jmp 0x6002f8d6
movzx edx, word [esp + 0x40]
mov dword [esp + 0x48], edx
jmp 0x6002f8d2
movzx ax, al
or ax, 0x2200
movzx edx, ax
mov dword [esp + 0x48], edx
mov dl, bl
mov al, bl
and dl, 0xc6
and al, 0xe4
and bl, 0xc5
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 3
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], bl
jmp 0x6002f8d6
mov ecx, dword [esp + 0x24]
movzx eax, word [esp + 0x48]
mov esi, dword [esp + 0x28]
and ecx, 0xffff0000
or ecx, eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x27], 2
cmp byte [esp + 0x2f], 3
je 0x6002fa5b
cmp byte [esp + 0x30], 0
jne 0x6002fa16
test dl, dl
je 0x6002fa16
mov byte [esp + 0x30], 1
cmp byte [esp + 0x31], 0
jne 0x6002fa2b
mov ecx, esi
shr ecx, 8
test cl, cl
je 0x6002fa2b
mov byte [esp + 0x31], 1
cmp byte [esp + 0x32], 0
jne 0x6002fa40
mov edx, esi
shr edx, 0x10
test dl, dl
je 0x6002fa40
mov byte [esp + 0x32], 1
cmp byte [esp + 0x33], 0
jne case.0x6002f6d8.3
mov eax, esi
shr eax, 0x18
test al, al
je case.0x6002f6d8.3
mov byte [esp + 0x33], 1
jmp case.0x6002f6d8.3
cmp byte [esp + 0x30], 0
jne 0x6002fa75
mov al, byte [esp + 0x38]
cmp al, dl
je 0x6002fa75
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x30], al
cmp byte [esp + 0x31], 0
jne 0x6002fa94
mov cl, byte [esp + 0x39]
mov eax, esi
shr eax, 8
cmp cl, al
je 0x6002fa94
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x31], al
cmp byte [esp + 0x32], 0
jne 0x6002fab3
mov cl, byte [esp + 0x3a]
mov eax, esi
shr eax, 0x10
cmp cl, al
je 0x6002fab3
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x32], al
cmp byte [esp + 0x33], 0
jne case.0x6002f6d8.3
mov cl, byte [esp + 0x3b]
mov eax, esi
shr eax, 0x18
cmp cl, al
je case.0x6002f6d8.3
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x33], al
or eax, 0xffffffff
cmp dword [esp + 0x20], eax
je 0x6002fc78
cmp dword [esp + 0x24], eax
je 0x6002fc78
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
cmp cx, ax
jne 0x6002fd09
test byte [esp + 0x3c], 3
je 0x6002fbf5
mov al, byte [esp + 0x22]
mov cl, byte [esp + 0x26]
cmp al, cl
mov byte [esp + 0x2f], al
mov bl, cl
je 0x6002fbf5
mov ecx, dword [esp + 0x18]
add ecx, 0xffffffff
je 0x6002fb7e
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0x14]
mov edi, edi
movzx eax, word [esi + 2]
test ax, ax
jne 0x6002fb48
cmp dword [esp + 0xac], 0xfffffffe
je 0x6002fb76
mov edx, dword [esp + 0xa0]
push edx
push ebp
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.6002e4fd
cmp byte [esp + 0x69], 1
jne 0x6002fb76
mov dl, byte [esp + 0x6a]
add byte [esp + 0x2f], dl
sub edi, 1
add esi, 2
cmp edi, 1
jne 0x6002fb35
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
add eax, 0xffffffff
je 0x6002fbdb
mov ebp, dword [esp + 0xb8]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
movzx eax, word [esi + 2]
test ax, ax
jne 0x6002fba9
cmp dword [esp + 0xb4], 0xfffffffe
je 0x6002fbd3
mov ecx, dword [esp + 0xa0]
push ecx
push ebp
lea edx, [esp + 0x70]
push edx
push eax
call fcn.6002e4fd
cmp byte [esp + 0x69], 1
jne 0x6002fbd3
add bl, byte [esp + 0x6a]
sub edi, 1
add esi, 2
cmp edi, 1
jne 0x6002fb96
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
movzx eax, byte [esp + 0x2f]
cmp al, bl
je 0x6002fbf5
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
and dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x54], eax
test byte [esp + 0x3c], 4
je 0x6002fc22
movzx eax, byte [esp + 0x27]
mov cl, byte [esp + 0x23]
and al, 0x3f
and cl, 0x3f
cmp cl, al
je 0x6002fc22
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
and dword [esp + 0x3c], 0xfffffffb
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
xor ecx, ecx
cmp eax, ecx
mov edx, 1
je 0x6002fc42
sub dword [esp + 0x80], edx
jne 0x6002fc42
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x7c]
cmp eax, ecx
je 0x6002fc58
sub dword [esp + 0x78], edx
jne 0x6002fc58
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], 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 0x6002ec97
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x6002fd47
cmp word [edi], 0
jne 0x6002fca7
cmp dword [esp + 0xb4], 0xfffffffe
je 0x6002fd47
mov edx, dword [esp + 0xb4]
mov esi, edi
mov eax, 1
mov edi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xbc]
push edi
mov edi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0x8c]
push edi
mov edi, dword [esp + 0x7c]
push edi
lea edi, [esp + 0x44]
push edi
push eax
push edx
push esi
push ecx
call fcn.6002e950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x1c
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop ebp
add eax, 3
pop ebx
add esp, 0x8c
ret 0x1c
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x6002fc87
cmp word [esi], 0
jne 0x6002fd3d
cmp edx, 0xfffffffe
je 0x6002fc87
mov eax, 3
jmp 0x6002fcb5
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x6002fdc2
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x6002fdc2
cmp dword [esp + 0x30], eax
je 0x6002fd96
cmp dword [esp + 0x5c], eax
jne 0x6002fd86
mov al, byte [esp + 0x30]
test al, al
je 0x6002fd7e
pop edi
pop esi
pop ebp
movzx eax, al
pop ebx
add esp, 0x8c
ret 0x1c
mov al, byte [esp + 0x31]
test al, al
jne 0x6002fd6e
mov al, byte [esp + 0x32]
test al, al
jne 0x6002fd6e
mov al, byte [esp + 0x33]
test al, al
jne 0x6002fd6e
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x6002fdc2
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x6002fdc2
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x8c
ret 0x1c
push 0x57
call dword [sym.imp.kernel32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x1c