Function at 0x37f9a0d0
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 0x37f9b456
cmp ecx, esi
je 0x37f9b456
cmp eax, esi
je 0x37f9b456
mov edx, dword [esp + 0xac]
test edx, 0xbffceff8
je 0x37f9a14a
push 0x3ec
jmp 0x37f9b458
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xa0], eax
cmp eax, esi
jne 0x37f9a1fa
cmp dword [esp + 0xb4], esi
je 0x37f9a1d8
movzx eax, word [ecx]
cmp ax, si
jne 0x37f9a177
cmp dword [esp + 0xb4], 0xfffffffe
je 0x37f9a1b7
cmp ebx, esi
je 0x37f9a1b7
movzx eax, word [edi]
cmp ax, si
jne 0x37f9a18d
cmp dword [esp + 0xbc], 0xfffffffe
je 0x37f9a1b7
movzx ebp, word [ecx]
cmp bp, ax
jne 0x37f9a1b7
mov eax, dword [esp + 0x18]
dec eax
add ecx, 2
add edi, 2
dec ebx
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x37f9a165
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
jmp 0x37f9a1d8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x18], esi
je 0x37f9a1d8
cmp word [ecx], si
jne 0x37f9a1f3
cmp dword [esp + 0xb4], 0xfffffffe
jne 0x37f9a1f3
cmp ebx, esi
je 0x37f9b444
cmp word [edi], si
jne 0x37f9a1f3
cmp dword [esp + 0xbc], 0xfffffffe
je 0x37f9b444
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.0x37f9a263
jmp dword [ecx*4 + 0x37f9b470]
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.0x37f9a263
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.0x37f9a263
mov dword [esp + 0x34], 0xff00ffff
jmp case.default.0x37f9a263
mov dword [esp + 0x34], 0xe700ffff
mov ecx, edx
and ecx, 0x30000
cmp ecx, 0x10000
je 0x37f9a2f8
cmp ecx, 0x20000
je 0x37f9a2e2
cmp ecx, 0x30000
jne 0x37f9a300
and dword [esp + 0x34], 0xdeffffff
test dl, 1
je 0x37f9a300
and eax, 0xfffffffb
mov dword [esp + 0x40], eax
jmp 0x37f9a300
and dword [esp + 0x34], 0xfeffffff
test dl, 1
je 0x37f9a300
and eax, 0xfffffffb
mov dword [esp + 0x40], eax
jmp 0x37f9a300
and dword [esp + 0x34], 0xdfffffff
cmp dword [esp + 0x18], esi
je 0x37f9b321
lea ebx, [ebx]
mov edi, dword [esp + 0x14]
movzx eax, word [edi]
mov edx, dword [esp + 0xb4]
test ax, ax
jne 0x37f9a328
cmp edx, 0xfffffffe
je 0x37f9b3bf
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0x10]
je 0x37f9b3c3
movzx ebp, word [esi]
test bp, bp
jne 0x37f9a34d
cmp dword [esp + 0xbc], 0xfffffffe
je 0x37f9b3c3
cmp dword [esp + 0x20], 0xffffffff
jne 0x37f9a377
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xc0]
push ecx
push edx
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.37f99b43
mov edx, dword [esp + 0x34]
and dword [esp + 0x20], edx
mov ebx, dword [esp + 0x24]
cmp ebx, 0xffffffff
jne 0x37f9a3a7
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
push ebp
call fcn.37f99b43
mov ebx, dword [esp + 0x24]
and ebx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0xa0], 0
je 0x37f9a8fe
mov al, byte [esp + 0x23]
test al, 0xc0
jne 0x37f9a3cb
mov ecx, ebx
shr ecx, 0x18
test cl, 0xc0
je 0x37f9a8fe
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 0x37f9a3f7
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x18]
add edx, 0xffffffff
je 0x37f9a41b
cmp word [edi + 2], 0
jne 0x37f9a411
cmp dword [esp + 0xb4], 0xfffffffe
je 0x37f9a41b
mov dword [esp + 0x44], 0
jmp 0x37f9a423
mov dword [esp + 0x44], 1
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffff
je 0x37f9a447
cmp word [esi + 2], 0
jne 0x37f9a43d
cmp dword [esp + 0xbc], 0xfffffffe
je 0x37f9a447
mov dword [esp + 0x48], 0
jmp 0x37f9a44f
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0xa8]
cmp dword [eax + 0x20], 0
jne 0x37f9a649
mov eax, dword [esp + 0x50]
sub eax, 0x80
je 0x37f9a52e
sub eax, 0x40
jne 0x37f9a8fe
test ebp, ebp
je 0x37f9a49b
cmp dword [esp + 0x44], eax
jne 0x37f9a49b
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
je 0x37f9a49b
cmp word [edi + 4], ax
jne 0x37f9a4c8
cmp dword [esp + 0xb4], 0xfffffffe
jne 0x37f9a4c8
test ebx, ebx
je 0x37f9a52e
cmp dword [esp + 0x48], 0
jne 0x37f9a52e
mov edx, dword [esp + 0x1c]
add edx, 0xfffffffe
je 0x37f9a52e
cmp word [esi + 4], 0
jne 0x37f9a4c8
cmp dword [esp + 0xbc], 0xfffffffe
je 0x37f9a52e
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
mov eax, dword [eax + 0x2c]
test ecx, ecx
jle 0x37f9a52e
test ebp, ebp
je 0x37f9a578
mov dx, word [eax]
cmp dx, word [edi]
jne 0x37f9a578
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x37f9a578
mov dx, word [eax + 4]
cmp dx, word [edi + 4]
jne 0x37f9a578
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 0x37f9a57c
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
test ecx, ecx
jg 0x37f9a8fe
test ebp, ebp
je 0x37f9a539
cmp dword [esp + 0x44], 0
je 0x37f9a54c
test ebx, ebx
je 0x37f9a8fe
cmp dword [esp + 0x48], 0
jne 0x37f9a8fe
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 8]
mov eax, dword [eax + 0x28]
test ecx, ecx
jle 0x37f9a8fe
lea ecx, [ecx]
test ebp, ebp
jne 0x37f9a5ce
test ebx, ebx
je 0x37f9a8fe
jmp 0x37f9a606
test ebx, ebx
je 0x37f9a5b5
mov dx, word [eax]
cmp dx, word [esi]
jne 0x37f9a5b5
mov dx, word [eax + 2]
cmp dx, word [esi + 2]
jne 0x37f9a5b5
mov dx, word [eax + 4]
cmp dx, word [esi + 4]
jne 0x37f9a5b5
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 0x37f9a51e
dec ecx
add eax, 0xc
test ecx, ecx
jg 0x37f9a4dd
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
jmp 0x37f9a52e
mov dx, word [eax]
cmp dx, word [edi]
jne 0x37f9a602
mov dx, word [eax + 2]
cmp dx, word [edi + 2]
jne 0x37f9a602
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 0x37f9a8fe
jmp 0x37f9a606
test ebx, ebx
je 0x37f9a638
mov dx, word [eax]
cmp dx, word [esi]
jne 0x37f9a638
mov dx, word [eax + 2]
cmp dx, word [esi + 2]
jne 0x37f9a638
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 0x37f9a8fe
dec ecx
add eax, 8
test ecx, ecx
jg 0x37f9a567
jmp 0x37f9a8fe
cmp dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
jne 0x37f9a683
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 0x37f9a683
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 0x37f9a6b1
movzx edi, word [esi]
xor eax, eax
cmp di, word [esi + 2]
sete al
mov dword [esp + 0x30], eax
test eax, eax
je 0x37f9a6b1
add esi, 2
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x50]
sub eax, 0x80
je 0x37f9a824
sub eax, 0x40
jne 0x37f9a8de
test ebp, ebp
je 0x37f9a772
cmp dword [esp + 0x44], eax
jne 0x37f9a772
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x50], eax
je 0x37f9a772
mov edi, dword [esp + 0x14]
movzx esi, word [edi + 4]
test si, si
jne 0x37f9a703
cmp dword [esp + 0xb4], 0xfffffffe
je 0x37f9a772
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
mov eax, dword [eax + 0x2c]
test ecx, ecx
jle 0x37f9a772
movzx edx, word [edi]
cmp word [eax], dx
jne 0x37f9a737
mov bx, word [eax + 2]
cmp bx, word [edi + 2]
jne 0x37f9a730
cmp word [eax + 4], si
je 0x37f9a741
mov ebx, dword [esp + 0x84]
dec ecx
add eax, 0xc
test ecx, ecx
jg 0x37f9a71b
jmp 0x37f9a772
mov eax, dword [eax + 8]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x20], eax
jne 0x37f9a762
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 0x37f9a81e
cmp dword [esp + 0x48], 0
jne 0x37f9a81e
mov edi, dword [esp + 0x1c]
add edi, 0xfffffffe
je 0x37f9a81e
mov eax, dword [esp + 0x10]
movzx esi, word [eax + 4]
test si, si
jne 0x37f9a7a9
cmp dword [esp + 0xbc], 0xfffffffe
je 0x37f9a81e
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 0xa]
mov eax, dword [eax + 0x2c]
test ecx, ecx
jle 0x37f9a81e
mov edx, dword [esp + 0x10]
movzx edx, word [edx]
mov edi, edi
cmp word [eax], dx
jne 0x37f9a7ee
mov bp, word [eax + 2]
mov ebx, dword [esp + 0x10]
cmp bp, word [ebx + 2]
jne 0x37f9a7e0
cmp word [eax + 4], si
je 0x37f9a7f8
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
dec ecx
add eax, 0xc
test ecx, ecx
jg 0x37f9a7c7
jmp 0x37f9a81e
mov eax, dword [eax + 8]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
jne 0x37f9a815
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 0x37f9a828
jmp 0x37f9a881
test ebp, ebp
je 0x37f9a881
cmp dword [esp + 0x44], 0
jne 0x37f9a881
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x24]
movzx ecx, word [ecx + 8]
mov eax, dword [eax + 0x28]
test ecx, ecx
jle 0x37f9a881
mov esi, dword [esp + 0x14]
movzx edx, word [esi]
cmp word [eax], dx
jne 0x37f9a85a
mov di, word [eax + 2]
cmp di, word [esi + 2]
je 0x37f9a864
dec ecx
add eax, 8
test ecx, ecx
jg 0x37f9a84b
jmp 0x37f9a881
mov eax, dword [eax + 4]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x20], eax
jne 0x37f9a881
add esi, 2
dec dword [esp + 0x18]
mov dword [esp + 0x14], esi
test ebx, ebx
je 0x37f9a8de
cmp dword [esp + 0x48], 0
jne 0x37f9a8de
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x24]
movzx ecx, word [edx + 8]
mov eax, dword [eax + 0x28]
test ecx, ecx
jle 0x37f9a8de
mov esi, dword [esp + 0x10]
movzx edx, word [esi]
cmp word [eax], dx
jne 0x37f9a8b7
mov di, word [eax + 2]
cmp di, word [esi + 2]
je 0x37f9a8c1
dec ecx
add eax, 8
test ecx, ecx
jg 0x37f9a8a8
jmp 0x37f9a8de
mov eax, dword [eax + 4]
and eax, dword [esp + 0x34]
cmp dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
jne 0x37f9a8de
add esi, 2
dec dword [esp + 0x1c]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x4c], 0
je 0x37f9a8ee
sub dword [esp + 0x14], 2
inc dword [esp + 0x18]
cmp dword [esp + 0x30], 0
je 0x37f9a8fe
sub dword [esp + 0x10], 2
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x37f9b2bf
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 0x37f9a94e
cmp al, 0xb
ja 0x37f9b1a2
cmp al, 3
jb 0x37f9b1a2
mov edx, 2
lea esi, [edx - 1]
test al, al
jne 0x37f9a96d
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov eax, 0xffffffff
mov dword [esp + 0x20], eax
jmp 0x37f9a970
or eax, 0xffffffff
mov cl, byte [esp + 0x3b]
test cl, cl
jne 0x37f9a984
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x64], 0
je 0x37f9a9ad
cmp bl, 1
jne 0x37f9a99c
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
cmp cl, 1
jne 0x37f9a9ad
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x6c], 0
je 0x37f9a9d6
cmp bl, 6
jne 0x37f9a9c5
add dword [esp + 0x14], edx
sub dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
cmp cl, 6
jne 0x37f9a9d6
add dword [esp + 0x10], edx
sub dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], eax
je 0x37f9b316
cmp dword [esp + 0x24], 0xffffffff
je 0x37f9b316
movzx eax, byte [esp + 0x2b]
dec eax
cmp eax, 0xa
ja case.0x37f9aa01.4
movzx eax, byte [eax + 0x37f9b498]
jmp dword [eax*4 + 0x37f9b480]
cmp dword [esp + 0x64], 0
jne 0x37f9aa2a
cmp dword [esp + 0x5c], 0
je 0x37f9aa1d
test byte [esp + 0x40], 2
je 0x37f9aa2a
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.0x37f9aa01.4
cmp dword [esp + 0x6c], 0
je case.0x37f9aa01.4
add dword [esp + 0x14], 2
dec dword [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
jmp case.0x37f9aa01.4
cmp dword [esp + 0x68], 0
je 0x37f9aa7e
add dword [esp + 0x14], 2
dec dword [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
jmp case.0x37f9aa01.4
cmp dword [esp + 0x9c], 0
jne case.0x37f9aa01.4
cmp byte [esp + 0x3b], 6
je case.0x37f9aa01.4
cmp dword [esp + 0x58], 0
je 0x37f9aac4
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.0x37f9aa01.4
add dword [esp + 0x14], 2
dec dword [esp + 0x18]
mov dword [esp + 0x54], 3
mov dword [esp + 0x20], 0xffffffff
jmp case.0x37f9aa01.4
mov ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x20]
inc dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x37fb1400]
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.0x37f9aa01.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 0x37f9ac79
mov esi, dword [esp + 0x14]
lea ecx, [esi - 2]
cmp ecx, dword [esp + 0xb0]
jb 0x37f9acaa
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.37f9851d
cmp word [esp + 0x50], 0x12
jne 0x37f9abbd
push edi
lea eax, [esp + 0x98]
push eax
call fcn.37f98995
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 0x37f9abe6
mov eax, 0xffff0000
cmp cl, 2
je 0x37f9acaa
jmp 0x37f9abf9
jne 0x37f9ac6e
mov al, byte [esp + 0x30]
cmp al, 1
ja 0x37f9ac13
mov eax, 0xffff0000
mov edx, dword [esp + 0x14]
add ebp, 2
sub edx, ebp
sub esi, 2
cmp edx, dword [esp + 0xb0]
jae 0x37f9ab8e
jmp 0x37f9acaa
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 0x37f9ac5b
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 0x37f9acb1
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 0xff87
mov byte [esp + 0x3d], 5
jmp 0x37f9ac9f
movzx ecx, word [esp + 0x30]
mov dword [esp + 0x48], ecx
jmp 0x37f9acaa
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 0x37f9accc
cmp eax, 0xffff0000
jne 0x37f9accc
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x48], 0xffff
mov dword [esp + 0x3c], eax
jmp 0x37f9ace9
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.0x37f9aa01.4
cmp byte [esp + 0x2c], 0
jne 0x37f9ad03
cmp byte [esp + 0x3c], 0
je 0x37f9ad03
mov byte [esp + 0x2c], 3
cmp byte [esp + 0x2d], 0
jne 0x37f9ad18
mov edx, eax
shr edx, 8
test dl, dl
je 0x37f9ad18
mov byte [esp + 0x2d], 3
cmp byte [esp + 0x2e], 0
jne 0x37f9ad2d
mov ecx, eax
shr ecx, 0x10
test cl, cl
je 0x37f9ad2d
mov byte [esp + 0x2e], 3
cmp byte [esp + 0x2f], 0
jne case.0x37f9aa01.4
shr eax, 0x18
test al, al
je case.0x37f9aa01.4
mov byte [esp + 0x2f], 3
movzx eax, byte [esp + 0x3b]
dec eax
cmp eax, 0xa
ja case.0x37f9ad56.4
movzx edx, byte [eax + 0x37f9b4bc]
jmp dword [edx*4 + 0x37f9b4a4]
cmp dword [esp + 0x64], 0
jne 0x37f9ad7f
cmp dword [esp + 0x5c], 0
je 0x37f9ad72
test byte [esp + 0x40], 2
je 0x37f9ad7f
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.0x37f9ad56.4
cmp dword [esp + 0x6c], 0
je case.0x37f9ad56.4
add dword [esp + 0x10], 2
dec dword [esp + 0x1c]
mov dword [esp + 0x24], 0xffffffff
jmp case.0x37f9ad56.4
cmp dword [esp + 0x68], 0
je 0x37f9add3
add dword [esp + 0x10], 2
dec dword [esp + 0x1c]
mov dword [esp + 0x24], 0xffffffff
jmp case.0x37f9ad56.4
cmp dword [esp + 0x9c], 0
jne case.0x37f9ad56.4
cmp byte [esp + 0x2b], 6
je 0x37f9ae14
cmp dword [esp + 0x54], 0
mov eax, 1
je 0x37f9adfa
mov dword [esp + 0x54], eax
jmp 0x37f9ae62
add dword [esp + 0x10], 2
sub dword [esp + 0x1c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x37f9ad56.4
cmp dword [esp + 0x54], 0
je 0x37f9ae26
mov eax, 1
mov dword [esp + 0x54], eax
jmp 0x37f9ae51
cmp dword [esp + 0x58], 0
je 0x37f9ae37
mov dword [esp + 0x58], 3
jmp 0x37f9ae4c
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.0x37f9ad56.4
mov ecx, dword [esp + 0x10]
movzx eax, byte [esp + 0x24]
inc dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x37fb1400]
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.0x37f9ad56.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 0x37f9b056
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffe
cmp ecx, dword [esp + 0xb8]
jb 0x37f9af7b
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.37f9851d
cmp word [esp + 0x50], 0x12
jne 0x37f9af58
push edi
lea eax, [esp + 0x9c]
push eax
call fcn.37f98995
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 0x37f9afae
mov eax, 0xffff0000
cmp cl, 2
jne 0x37f9afc1
mov cl, byte [esp + 0x30]
cmp byte [esp + 0x24], 1
ja 0x37f9b08e
cmp eax, 0xffff0000
jne 0x37f9b08e
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x44], 0xffff
mov dword [esp + 0x30], eax
mov cl, al
jmp 0x37f9b0ab
jne 0x37f9b048
mov al, byte [esp + 0x4c]
cmp al, 1
ja 0x37f9afdc
mov eax, 0xffff0000
mov edx, dword [esp + 0x10]
add ebp, 2
sub edx, ebp
sub esi, 2
cmp edx, dword [esp + 0xb8]
jae 0x37f9af29
jmp 0x37f9af7b
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 0x37f9b027
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 0x37f9af8a
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 0x37f9af7f
movzx ecx, word [esp + 0x4c]
mov dword [esp + 0x44], ecx
jmp 0x37f9af7b
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 0x37f9af7f
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 0x37f9b105
cmp byte [esp + 0x2c], 0
jne 0x37f9b0c2
test cl, cl
je 0x37f9b0c2
mov byte [esp + 0x2c], 1
cmp byte [esp + 0x2d], 0
jne 0x37f9b0d7
mov ecx, eax
shr ecx, 8
test cl, cl
je 0x37f9b0d7
mov byte [esp + 0x2d], 1
cmp byte [esp + 0x2e], 0
jne 0x37f9b0ec
mov edx, eax
shr edx, 0x10
test dl, dl
je 0x37f9b0ec
mov byte [esp + 0x2e], 1
cmp byte [esp + 0x2f], 0
jne case.0x37f9ad56.4
shr eax, 0x18
test al, al
je case.0x37f9ad56.4
mov byte [esp + 0x2f], 1
jmp case.0x37f9ad56.4
cmp byte [esp + 0x2c], 0
jne 0x37f9b11f
mov dl, byte [esp + 0x3c]
cmp dl, cl
je 0x37f9b11f
setae cl
lea ecx, [ecx + ecx + 1]
mov byte [esp + 0x2c], cl
cmp byte [esp + 0x2d], 0
jne 0x37f9b13e
mov dl, byte [esp + 0x3d]
mov ecx, eax
shr ecx, 8
cmp dl, cl
je 0x37f9b13e
setae cl
lea ecx, [ecx + ecx + 1]
mov byte [esp + 0x2d], cl
cmp byte [esp + 0x2e], 0
jne 0x37f9b15d
mov dl, byte [esp + 0x3e]
mov ecx, eax
shr ecx, 0x10
cmp dl, cl
je 0x37f9b15d
setae cl
lea ecx, [ecx + ecx + 1]
mov byte [esp + 0x2e], cl
cmp byte [esp + 0x2f], 0
jne case.0x37f9ad56.4
mov cl, byte [esp + 0x3f]
shr eax, 0x18
cmp cl, al
je case.0x37f9ad56.4
setae al
lea eax, [eax + eax + 1]
mov byte [esp + 0x2f], al
or eax, 0xffffffff
cmp dword [esp + 0x20], eax
je 0x37f9b316
cmp dword [esp + 0x24], eax
je 0x37f9b316
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
cmp cx, ax
jne 0x37f9b3aa
test byte [esp + 0x40], 3
je 0x37f9b295
mov al, byte [esp + 0x22]
mov cl, byte [esp + 0x26]
mov byte [esp + 0x2b], al
mov bl, cl
cmp al, cl
je 0x37f9b295
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
test eax, eax
je 0x37f9b222
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x14]
movzx eax, word [esi + 2]
test ax, ax
jne 0x37f9b1e7
cmp ebp, 0xfffffffe
je 0x37f9b21a
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xc0]
push ecx
push edx
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.37f99b43
cmp byte [esp + 0x61], 1
jne 0x37f9b21a
mov dl, byte [esp + 0x62]
add byte [esp + 0x2b], dl
dec edi
add esi, 2
cmp edi, 1
jne 0x37f9b1d9
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x1c]
lea eax, [edi - 1]
test eax, eax
je 0x37f9b27b
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0xc0]
movzx eax, word [esi + 2]
test ax, ax
jne 0x37f9b24b
cmp dword [esp + 0xbc], 0xfffffffe
je 0x37f9b273
mov ecx, dword [esp + 0xa8]
push ecx
push ebp
lea edx, [esp + 0x68]
push edx
push eax
call fcn.37f99b43
cmp byte [esp + 0x61], 1
jne 0x37f9b273
add bl, byte [esp + 0x62]
dec edi
add esi, 2
cmp edi, 1
jne 0x37f9b238
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
movzx eax, byte [esp + 0x2b]
cmp al, bl
je 0x37f9b295
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 0x37f9b2bf
movzx eax, byte [esp + 0x27]
mov cl, byte [esp + 0x23]
and al, 0x3f
and cl, 0x3f
cmp cl, al
je 0x37f9b2bf
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 0x37f9b2da
sub dword [esp + 0x7c], edx
jne 0x37f9b2da
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x80]
cmp eax, ecx
je 0x37f9b2f6
sub dword [esp + 0x78], edx
jne 0x37f9b2f6
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 0x37f9a30c
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x37f9b3e8
cmp word [esi], 0
jne 0x37f9b345
cmp dword [esp + 0xbc], 0xfffffffe
je 0x37f9b3e8
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.37f99f6b
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 0x37f9b325
cmp word [edi], 0
jne 0x37f9b3de
cmp edx, 0xfffffffe
je 0x37f9b325
mov eax, 3
jmp 0x37f9b353
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x37f9b460
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x37f9b460
cmp dword [esp + 0x2c], eax
je 0x37f9b434
cmp dword [esp + 0x64], eax
jne 0x37f9b424
mov al, byte [esp + 0x2c]
test al, al
je 0x37f9b41c
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 0x37f9b40c
mov al, byte [esp + 0x2e]
test al, al
jne 0x37f9b40c
mov al, byte [esp + 0x2f]
test al, al
jne 0x37f9b40c
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x37f9b460
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x37f9b460
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