Function at 0x1400536f0
Capabilities:
Identify system language via api
Query environment variable

Disassembly:
mov byte [rsp + 0x10], dl
mov byte [rsp + 8], cl
sub rsp, 0x218
mov dword [rsp + 0x34], 0x125
mov dword [rsp + 0x3c], 0x181
mov byte [rsp + 0x21], 0xfd
mov byte [rsp + 0x20], 0x73
mov byte [rsp + 0x25], 0xff
mov byte [rsp + 0x23], 0xdc
mov byte [rsp + 0x22], 0xc1
mov byte [rsp + 0x24], 0xf4
mov dword [rsp + 0x30], 0xb1
mov dword [rsp + 0x2c], 0x17d
mov dword [rsp + 0x38], 0x105
mov dword [rsp + 0x40], 0x1e2
mov dword [rsp + 0x28], 0xe
call qword [sym.imp.KERNEL32.dll_GetThreadErrorMode]
movzx eax, byte [0x14007d202]
imul eax, eax, 6
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
cdq
mov ecx, 9
idiv ecx
mov eax, edx
mov word [rsp + 0x80], ax
movsx eax, word [rsp + 0x80]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400537b4
cmp dword [rsp + 0x60], 1
je 0x1400537f9
cmp dword [rsp + 0x60], 2
je 0x14005387e
cmp dword [rsp + 0x60], 3
je 0x140053907
jmp 0x140053970
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jne 0x1400537cb
mov dword [rsp + 0x90], 1
jmp 0x1400537d6
mov dword [rsp + 0x90], 0
movsx eax, byte [0x14007d200]
xor eax, dword [rsp + 0x90]
mov ecx, dword [0x14007d224]
add ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
jmp 0x140053970
cmp dword [rsp + 0x40], 0
je 0x140053807
cmp dword [rsp + 0x3c], 0
jne 0x14005381d
movsx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14005381d
mov dword [rsp + 0x94], 0
jmp 0x140053828
mov dword [rsp + 0x94], 1
mov eax, dword [rsp + 0x94]
mov ecx, dword [0x14007d228]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d1fc]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
movzx eax, byte [rsp + 0x23]
movzx ecx, al
mov eax, dword [0x14007d254]
shl eax, cl
movsx ecx, byte [rsp + 0x25]
cmp eax, ecx
jne 0x140053869
mov byte [rsp + 0x44], 1
jmp 0x14005386e
mov byte [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [0x14007d22d], al
jmp 0x140053970
movsx eax, byte [rsp + 0x25]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
sub eax, ecx
mov ecx, dword [0x14007d23c]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d22d]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d22d], al
cmp dword [0x14007d250], 0
jne 0x1400538e3
movsx eax, byte [rsp + 0x24]
movsx ecx, byte [rsp + 0x25]
sub eax, ecx
movsx ecx, byte [rsp + 0x20]
movsx edx, byte [0x14007d203]
add ecx, edx
and eax, ecx
test eax, eax
jne 0x1400538e3
mov dword [rsp + 0x98], 0
jmp 0x1400538ee
mov dword [rsp + 0x98], 1
mov eax, dword [rsp + 0x98]
mov ecx, dword [0x14007d240]
and ecx, eax
mov eax, ecx
mov dword [0x14007d240], eax
jmp 0x140053970
mov eax, dword [rsp + 0x40]
mov ecx, dword [0x14007d224]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x14005392f
movsx eax, byte [rsp + 0x25]
test eax, eax
je 0x14005392f
mov dword [rsp + 0x9c], 1
jmp 0x14005393a
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov ecx, dword [0x14007d23c]
and ecx, eax
mov eax, ecx
mov dword [0x14007d23c], eax
movsx eax, byte [0x14007d21d]
movsx ecx, byte [rsp + 0x22]
add eax, ecx
movzx ecx, byte [0x14007d21e]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21e], al
mov dword [rsp + 0x84], 0xffffff30
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x1c8], eax
mov eax, dword [rsp + 0x84]
inc eax
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x1c8], 0
je 0x140053a70
movsx eax, byte [0x14007d25c]
test eax, eax
jne 0x1400539d9
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x20]
mov edx, dword [rsp + 0x40]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400539d9
mov dword [rsp + 0xa0], 0
jmp 0x1400539e4
mov dword [rsp + 0xa0], 1
movzx eax, byte [0x14007d21e]
sub eax, dword [rsp + 0xa0]
mov byte [0x14007d21e], al
movsx eax, byte [rsp + 0x24]
mov ecx, dword [0x14007d218]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d218]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
movsx eax, byte [0x14007d201]
test eax, eax
jne 0x140053a49
movsx eax, byte [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
jne 0x140053a3c
movzx eax, byte [rsp + 0x23]
and eax, dword [0x14007d234]
test eax, eax
jne 0x140053a49
mov dword [rsp + 0xa4], 0
jmp 0x140053a54
mov dword [rsp + 0xa4], 1
mov eax, dword [rsp + 0xa4]
mov ecx, dword [0x14007d20c]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d20c], eax
jmp 0x14005397b
mov dword [rsp + 0x64], 0x17c
mov dword [rsp + 0x64], 0x115
jmp 0x140053a8c
mov eax, dword [rsp + 0x64]
dec eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x3f
jbe 0x140053c5f
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x30], eax
jne 0x140053adf
mov eax, dword [rsp + 0x40]
mov ecx, dword [0x14007d248]
xor ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
shl edx, cl
mov ecx, edx
mov dword [rsp + 0x1cc], ecx
movzx edx, byte [0x14007d22c]
movzx ecx, dl
mov edx, dword [rsp + 0x1cc]
shl edx, cl
mov ecx, edx
xor eax, ecx
mov dword [0x14007d234], eax
movsx eax, byte [rsp + 0x25]
mov ecx, dword [0x14007d230]
and ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x30]
mov ecx, dword [0x14007d224]
add ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movzx eax, byte [rsp + 0x23]
cmp dword [rsp + 0x38], eax
jne 0x140053b1a
mov dword [rsp + 0xa8], 1
jmp 0x140053b25
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0xa8]
or ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x14007d214]
sar eax, cl
mov ecx, dword [0x14007d23c]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d23c], eax
cmp dword [0x14007d1fc], 0
jne 0x140053b71
movsx eax, byte [rsp + 0x22]
movzx ecx, al
mov eax, dword [rsp + 0x40]
shr eax, cl
test eax, eax
jne 0x140053b71
mov byte [rsp + 0x45], 0
jmp 0x140053b76
mov byte [rsp + 0x45], 1
movzx eax, byte [rsp + 0x45]
mov byte [0x14007d201], al
xor edx, edx
mov eax, dword [rsp + 0x30]
mov ecx, 4
div ecx
mov ecx, dword [0x14007d204]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x24], al
cmp dword [rsp + 0x3c], 0
je 0x140053bc1
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shr eax, cl
test eax, eax
je 0x140053bc1
mov dword [rsp + 0xac], 1
jmp 0x140053bcc
mov dword [rsp + 0xac], 0
movsx eax, byte [0x14007d201]
xor eax, dword [rsp + 0xac]
mov ecx, dword [0x14007d204]
add ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
movsx eax, byte [0x14007d200]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 3
div ecx
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x23]
movsx ecx, byte [rsp + 0x21]
add eax, ecx
mov ecx, dword [rsp + 0x3c]
sar eax, cl
mov ecx, dword [0x14007d224]
or ecx, eax
mov eax, ecx
movzx ecx, byte [0x14007d22c]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
movsx eax, byte [0x14007d200]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
xor ecx, dword [rsp + 0x28]
shl eax, cl
movsx ecx, byte [0x14007d203]
or ecx, eax
mov eax, ecx
mov byte [0x14007d203], al
jmp 0x140053a82
movzx eax, byte [rsp + 0x23]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x14007d210]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x22], al
movzx eax, byte [0x14007d202]
movsx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x2c]
sub edx, ecx
mov ecx, edx
shl eax, cl
movsx ecx, byte [0x14007d201]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d201], al
mov eax, dword [rsp + 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x14007d238]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x24], al
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d230]
add ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x38]
movzx ecx, byte [0x14007d22c]
or ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
movsx eax, byte [rsp + 0x21]
and eax, dword [rsp + 0x30]
xor eax, dword [rsp + 0x3c]
mov ecx, dword [0x14007d204]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d22f]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d22f], al
cmp dword [0x14007d208], 0
jne 0x140053d41
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x14007d218]
sar eax, cl
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140053d41
mov dword [rsp + 0xb0], 0
jmp 0x140053d4c
mov dword [rsp + 0xb0], 1
movsx eax, byte [0x14007d21d]
or eax, dword [rsp + 0xb0]
mov byte [0x14007d21d], al
movsx eax, byte [rsp + 0x21]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x14007d250]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x22]
movsx ecx, byte [rsp + 0x24]
cmp eax, ecx
jne 0x140053d98
mov dword [rsp + 0xb4], 1
jmp 0x140053da3
mov dword [rsp + 0xb4], 0
movzx eax, byte [0x14007d21e]
movsx ecx, byte [rsp + 0x21]
xor ecx, dword [rsp + 0xb4]
cmp eax, ecx
jne 0x140053dc7
mov dword [rsp + 0xb8], 1
jmp 0x140053dd2
mov dword [rsp + 0xb8], 0
mov eax, dword [rsp + 0xb8]
mov ecx, dword [0x14007d250]
and ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
movzx eax, byte [0x14007d21f]
test eax, eax
jne 0x140053e26
mov eax, dword [0x14007d208]
cmp dword [rsp + 0x40], eax
jae 0x140053e0d
mov dword [rsp + 0xbc], 1
jmp 0x140053e18
mov dword [rsp + 0xbc], 0
movsx eax, byte [rsp + 0x20]
cmp eax, dword [rsp + 0xbc]
jge 0x140053e51
movsx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x24]
add eax, ecx
cmp dword [0x14007d210], eax
jne 0x140053e41
mov byte [rsp + 0x46], 1
jmp 0x140053e46
mov byte [rsp + 0x46], 0
movzx eax, byte [rsp + 0x46]
mov byte [0x14007d21d], al
mov eax, dword [rsp + 0x38]
mov ecx, dword [0x14007d240]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x20]
shr eax, cl
movsx ecx, byte [rsp + 0x25]
shl eax, cl
mov ecx, dword [0x14007d214]
shl eax, cl
mov dword [0x14007d230], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d250]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d228]
add ecx, eax
mov eax, ecx
mov dword [0x14007d228], eax
mov dword [rsp + 0x68], 0x123
mov dword [rsp + 0x68], 7
jmp 0x140053ebe
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x5a7
jae 0x140053ee9
movsx eax, byte [0x14007d22d]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x28]
add edx, ecx
mov ecx, edx
and ecx, dword [rsp + 0x28]
sar eax, cl
mov dword [0x14007d224], eax
jmp 0x140053eb4
movzx eax, byte [0x14007d21e]
test eax, eax
je 0x140053f0f
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x25]
cmp eax, ecx
jne 0x140053f0f
mov dword [rsp + 0xc0], 1
jmp 0x140053f1a
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov ecx, dword [0x14007d230]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d230], eax
movsx eax, byte [0x14007d22f]
cmp dword [rsp + 0x40], eax
jne 0x140053f4b
mov dword [rsp + 0xc4], 1
jmp 0x140053f56
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x14007d248]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x28]
or eax, dword [rsp + 0xc4]
mov ecx, dword [0x14007d244]
or ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
movzx eax, byte [0x14007d21f]
movsx ecx, byte [rsp + 0x22]
and eax, ecx
movsx ecx, byte [rsp + 0x24]
add ecx, dword [rsp + 0x2c]
and eax, ecx
or eax, dword [0x14007d224]
mov ecx, dword [0x14007d234]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
movsx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x22]
add ecx, dword [rsp + 0x3c]
or eax, ecx
mov ecx, dword [0x14007d234]
and ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d21c]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d21c], al
movsx eax, byte [0x14007d22e]
movsx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x2c]
sub edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x38]
shr edx, cl
mov ecx, edx
cmp eax, ecx
jne 0x140054006
mov dword [rsp + 0xc8], 1
jmp 0x140054011
mov dword [rsp + 0xc8], 0
mov eax, dword [0x14007d250]
mov ecx, dword [rsp + 0xc8]
or ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
mov eax, dword [0x14007d254]
imul eax, dword [rsp + 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x2c], eax
movzx eax, byte [rsp + 0x23]
mov ecx, dword [0x14007d244]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
or eax, ecx
movsx ecx, byte [0x14007d22e]
or ecx, eax
mov eax, ecx
mov byte [0x14007d22e], al
movsx eax, byte [0x14007d201]
test eax, eax
je 0x140054089
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jne 0x140054089
mov dword [rsp + 0xcc], 1
jmp 0x140054094
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
mov dword [0x14007d238], eax
movsx eax, byte [0x14007d22f]
movsx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x28]
xor edx, ecx
mov ecx, edx
movzx edx, byte [rsp + 0x23]
xor ecx, edx
and eax, ecx
mov byte [0x14007d203], al
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp dword [0x14007d224], 0
jne 0x14005412b
movsx eax, byte [rsp + 0x21]
cmp eax, dword [0x14007d20c]
jae 0x1400540ed
mov dword [rsp + 0xd0], 1
jmp 0x1400540f8
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0x3c], eax
jle 0x140054112
mov dword [rsp + 0xd4], 1
jmp 0x14005411d
mov dword [rsp + 0xd4], 0
movsx eax, byte [rsp + 0x24]
cmp dword [rsp + 0xd4], eax
jne 0x140054157
movsx eax, byte [0x14007d25c]
mov dword [rsp + 0x1d0], eax
movsx ecx, byte [rsp + 0x21]
mov eax, ecx
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [rsp + 0x1d0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
movsx eax, byte [rsp + 0x24]
cmp dword [rsp + 0x34], eax
je 0x140054178
movsx eax, byte [rsp + 0x25]
test eax, eax
jne 0x140054178
mov dword [rsp + 0xd8], 0
jmp 0x140054183
mov dword [rsp + 0xd8], 1
mov eax, dword [rsp + 0xd8]
mov ecx, dword [0x14007d228]
or ecx, eax
mov eax, ecx
mov byte [0x14007d22f], al
mov eax, dword [0x14007d258]
imul eax, dword [rsp + 0x2c]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x34], eax
mov eax, 0xfd
mov word [rsp + 0x50], ax
movsx eax, word [rsp + 0x50]
mov dword [rsp + 0x1d4], eax
movzx eax, word [rsp + 0x50]
dec ax
mov word [rsp + 0x50], ax
cmp dword [rsp + 0x1d4], 0
je 0x140054251
movsx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x140054206
movsx eax, byte [rsp + 0x25]
test eax, eax
jne 0x140054206
mov dword [rsp + 0xdc], 0
jmp 0x140054211
mov dword [rsp + 0xdc], 1
mov eax, dword [rsp + 0xdc]
cmp dword [0x14007d220], eax
jne 0x14005422d
mov dword [rsp + 0xe0], 1
jmp 0x140054238
mov dword [rsp + 0xe0], 0
movsx eax, byte [0x14007d22d]
and eax, dword [rsp + 0xe0]
mov byte [0x14007d22d], al
jmp 0x1400541bc
movzx eax, byte [0x14007d22c]
movsx ecx, byte [rsp + 0x22]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x20]
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [0x14007d248]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
cmp dword [rsp + 0x34], 0
je 0x14005434e
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14005434e
movsx eax, byte [0x14007d22e]
test eax, eax
je 0x1400542c2
movsx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400542c2
mov dword [rsp + 0xe4], 1
jmp 0x1400542cd
mov dword [rsp + 0xe4], 0
movsx eax, byte [0x14007d200]
and eax, dword [rsp + 0xe4]
mov byte [0x14007d200], al
movsx eax, byte [rsp + 0x24]
mov ecx, dword [0x14007d248]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x28], eax
mov eax, dword [0x14007d24c]
cmp dword [rsp + 0x28], eax
jne 0x140054317
mov dword [rsp + 0xe8], 1
jmp 0x140054322
mov dword [rsp + 0xe8], 0
movsx eax, byte [0x14007d22e]
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2c]
sub edx, ecx
mov ecx, edx
xor eax, ecx
xor eax, dword [rsp + 0xe8]
mov ecx, dword [0x14007d228]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d228], eax
mov eax, 0xa0
mov word [rsp + 0x54], ax
movsx eax, word [rsp + 0x54]
mov dword [rsp + 0x1d8], eax
movzx eax, word [rsp + 0x54]
dec ax
mov word [rsp + 0x54], ax
cmp dword [rsp + 0x1d8], 0
je 0x140054460
movsx eax, byte [0x14007d22f]
movzx ecx, byte [rsp + 0x23]
shl eax, cl
test eax, eax
jne 0x1400543d5
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jne 0x1400543a8
mov dword [rsp + 0xec], 1
jmp 0x1400543b3
mov dword [rsp + 0xec], 0
mov eax, dword [0x14007d208]
mov ecx, dword [rsp + 0xec]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400543d5
mov dword [rsp + 0xf0], 0
jmp 0x1400543e0
mov dword [rsp + 0xf0], 1
mov eax, dword [rsp + 0xf0]
mov ecx, dword [0x14007d210]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d210], eax
movsx eax, byte [rsp + 0x22]
movsx ecx, byte [rsp + 0x22]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d220]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d22e]
add ecx, eax
mov eax, ecx
mov byte [0x14007d22e], al
movsx eax, byte [0x14007d22e]
movsx ecx, byte [rsp + 0x22]
imul eax, ecx
cdq
mov ecx, 5
idiv ecx
mov byte [rsp + 0x23], al
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [0x14007d210]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x140054358
movzx eax, byte [0x14007d21e]
test eax, eax
je 0x1400545ea
mov eax, dword [0x14007d248]
cmp dword [rsp + 0x34], eax
jbe 0x140054488
mov dword [rsp + 0xf4], 1
jmp 0x140054493
mov dword [rsp + 0xf4], 0
movsx eax, byte [rsp + 0x22]
cmp eax, dword [rsp + 0xf4]
jle 0x1400544ae
mov dword [rsp + 0xf8], 1
jmp 0x1400544b9
mov dword [rsp + 0xf8], 0
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0xf8], eax
jbe 0x1400545ea
cmp dword [0x14007d23c], 0
jne 0x140054503
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400544f6
mov eax, dword [0x14007d210]
mov ecx, dword [rsp + 0x2c]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140054503
mov dword [rsp + 0xfc], 0
jmp 0x14005450e
mov dword [rsp + 0xfc], 1
mov eax, dword [rsp + 0xfc]
mov ecx, dword [0x14007d238]
and ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
movsx eax, byte [rsp + 0x25]
mov ecx, dword [rsp + 0x28]
shl eax, cl
mov ecx, dword [0x14007d218]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d258]
add ecx, eax
mov eax, ecx
mov dword [0x14007d258], eax
movsx eax, byte [0x14007d203]
movsx ecx, byte [rsp + 0x21]
add eax, ecx
movsx ecx, byte [rsp + 0x22]
add eax, ecx
mov ecx, dword [rsp + 0x40]
shl eax, cl
test eax, eax
jne 0x14005457f
cmp dword [0x14007d228], 0
jne 0x14005457f
mov dword [rsp + 0x100], 0
jmp 0x14005458a
mov dword [rsp + 0x100], 1
mov eax, dword [rsp + 0x100]
mov ecx, dword [0x14007d218]
and ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
movsx eax, byte [rsp + 0x24]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
cmp dword [0x14007d210], eax
jne 0x1400545cb
mov dword [rsp + 0x104], 1
jmp 0x1400545d6
mov dword [rsp + 0x104], 0
movsx eax, byte [0x14007d22d]
xor eax, dword [rsp + 0x104]
mov byte [0x14007d22d], al
mov dword [rsp + 0x88], 0xffffffd1
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x1dc], eax
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x1dc], 0
je 0x14005463e
movzx eax, byte [rsp + 0x23]
mov ecx, dword [0x14007d254]
imul ecx, eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov dword [rsp + 0x40], eax
jmp 0x1400545f5
movzx eax, byte [0x14007d22c]
test eax, eax
je 0x140054673
movsx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x28]
sub edx, ecx
mov ecx, edx
shl eax, cl
or eax, dword [0x14007d224]
test eax, eax
je 0x140054673
mov dword [rsp + 0x108], 1
jmp 0x14005467e
mov dword [rsp + 0x108], 0
mov eax, dword [rsp + 0x108]
mov ecx, dword [0x14007d238]
add ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
movsx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1400546a7
movsx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400546c6
mov eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x14007d224]
shr eax, cl
mov ecx, dword [0x14007d248]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d248], eax
movsx eax, byte [0x14007d201]
movsx ecx, byte [rsp + 0x25]
sub ecx, dword [rsp + 0x30]
movzx edx, byte [rsp + 0x23]
or ecx, edx
sar eax, cl
mov ecx, dword [0x14007d248]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d248], eax
movsx eax, byte [0x14007d200]
mov dword [rsp + 0x1e0], eax
movsx ecx, byte [rsp + 0x20]
mov eax, ecx
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [rsp + 0x1e0]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x21], al
movsx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x23]
sub eax, ecx
mov ecx, dword [0x14007d1fc]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d244]
add ecx, eax
mov eax, ecx
mov dword [0x14007d244], eax
movsx eax, byte [0x14007d22d]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x30]
and edx, ecx
mov ecx, edx
or eax, ecx
movsx ecx, byte [0x14007d21d]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d21d], al
imul eax, dword [0x14007d23c], 5
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 8
div ecx
mov eax, edx
mov word [rsp + 0x7c], ax
movsx eax, word [rsp + 0x7c]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1400547b8
cmp dword [rsp + 0x6c], 1
je 0x14005480c
cmp dword [rsp + 0x6c], 2
je 0x14005487b
cmp dword [rsp + 0x6c], 3
je 0x1400548a9
jmp 0x14005491e
movsx eax, byte [0x14007d25c]
movsx ecx, byte [rsp + 0x25]
add eax, ecx
movsx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x1400547dc
mov dword [rsp + 0x10c], 1
jmp 0x1400547e7
mov dword [rsp + 0x10c], 0
mov eax, dword [0x14007d23c]
movzx ecx, al
mov eax, dword [rsp + 0x28]
sar eax, cl
mov ecx, dword [rsp + 0x10c]
and ecx, eax
mov eax, ecx
mov dword [0x14007d214], eax
jmp 0x14005491e
movzx eax, byte [0x14007d21f]
imul eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 3
div ecx
mov byte [rsp + 0x20], al
movsx eax, byte [0x14007d201]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x34]
and edx, ecx
mov ecx, edx
xor eax, ecx
test eax, eax
jne 0x14005485e
movzx eax, byte [0x14007d21f]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x14005485e
mov dword [rsp + 0x110], 0
jmp 0x140054869
mov dword [rsp + 0x110], 1
mov eax, dword [rsp + 0x110]
mov dword [0x14007d240], eax
jmp 0x14005491e
movsx eax, byte [rsp + 0x21]
sub eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x30]
shl eax, cl
mov ecx, dword [0x14007d220]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d220]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d220], eax
jmp 0x14005491e
cmp dword [0x14007d23c], 0
je 0x1400548df
movsx eax, byte [rsp + 0x25]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
sub edx, ecx
mov ecx, edx
movsx edx, byte [0x14007d200]
add ecx, edx
shl eax, cl
test eax, eax
je 0x1400548df
mov dword [rsp + 0x114], 1
jmp 0x1400548ea
mov dword [rsp + 0x114], 0
mov eax, dword [rsp + 0x114]
mov ecx, dword [0x14007d208]
add ecx, eax
mov eax, ecx
mov dword [0x14007d208], eax
mov eax, dword [rsp + 0x2c]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [0x14007d208]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x22], al
cmp dword [rsp + 0x3c], 0
je 0x140054970
cmp dword [rsp + 0x34], 0
je 0x140054970
cmp dword [0x14007d208], 0
je 0x140054970
mov eax, dword [rsp + 0x28]
cmp dword [0x14007d258], eax
jne 0x14005494e
mov dword [rsp + 0x118], 1
jmp 0x140054959
mov dword [rsp + 0x118], 0
mov eax, dword [rsp + 0x118]
mov ecx, dword [0x14007d218]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
cmp dword [0x14007d1fc], 0
jne 0x14005499e
movsx eax, byte [rsp + 0x24]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x14005499e
cmp dword [rsp + 0x38], 0
jne 0x14005499e
mov dword [rsp + 0x11c], 0
jmp 0x1400549a9
mov dword [rsp + 0x11c], 1
movsx eax, byte [0x14007d21c]
sub eax, dword [rsp + 0x11c]
mov byte [0x14007d21c], al
movzx eax, byte [rsp + 0x23]
add eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
or ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [0x14007d23c]
shl eax, cl
mov ecx, dword [0x14007d208]
and ecx, eax
mov eax, ecx
mov dword [0x14007d208], eax
movzx eax, byte [0x14007d22c]
add eax, dword [rsp + 0x34]
mov ecx, dword [0x14007d224]
and ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movsx eax, byte [0x14007d25c]
movsx ecx, byte [rsp + 0x20]
mov dword [rsp + 0x1e4], ecx
movsx edx, byte [rsp + 0x21]
mov r8d, dword [rsp + 0x34]
movzx ecx, r8b
sar edx, cl
mov ecx, edx
mov edx, dword [rsp + 0x1e4]
xor edx, ecx
mov ecx, edx
shl eax, cl
mov ecx, dword [0x14007d23c]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d23c], eax
xor edx, edx
mov eax, dword [rsp + 0x34]
mov ecx, 3
div ecx
mov eax, edx
mov ecx, dword [0x14007d250]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [0x14007d254], 0
jne 0x140054a82
movsx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140054a82
mov dword [rsp + 0x120], 0
jmp 0x140054a8d
mov dword [rsp + 0x120], 1
mov eax, dword [rsp + 0x120]
mov ecx, dword [0x14007d218]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
cmp dword [0x14007d244], 0
jne 0x140054ad9
cmp dword [rsp + 0x38], 0
je 0x140054acc
movsx eax, byte [rsp + 0x24]
or eax, dword [rsp + 0x34]
test eax, eax
je 0x140054acc
movzx eax, byte [0x14007d22c]
test eax, eax
jne 0x140054ad9
mov dword [rsp + 0x124], 0
jmp 0x140054ae4
mov dword [rsp + 0x124], 1
mov eax, dword [rsp + 0x124]
mov ecx, dword [0x14007d230]
and ecx, eax
mov eax, ecx
mov dword [0x14007d230], eax
movsx eax, byte [0x14007d21c]
movsx ecx, byte [rsp + 0x24]
mov edx, dword [rsp + 0x2c]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x22]
mov dword [rsp + 0x1e8], ecx
mov edx, dword [0x14007d220]
movzx ecx, dl
mov edx, dword [rsp + 0x1e8]
shl edx, cl
mov ecx, edx
and eax, ecx
mov byte [0x14007d21f], al
movsx eax, byte [0x14007d201]
movsx ecx, byte [rsp + 0x24]
sar eax, cl
mov ecx, dword [0x14007d254]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d254], eax
movsx eax, byte [rsp + 0x25]
movzx ecx, al
mov eax, dword [0x14007d234]
shl eax, cl
mov dword [0x14007d204], eax
movsx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
sar eax, cl
movsx ecx, byte [rsp + 0x22]
xor eax, ecx
mov ecx, dword [0x14007d204]
or ecx, eax
mov eax, ecx
mov dword [0x14007d210], eax
mov dword [rsp + 0x8c], 0x2f
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x1ec], eax
mov eax, dword [rsp + 0x8c]
dec eax
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x1ec], 0
je 0x140054c6a
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x2c]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140054bf0
cmp dword [rsp + 0x40], 0
jne 0x140054bf0
mov dword [rsp + 0x128], 0
jmp 0x140054bfb
mov dword [rsp + 0x128], 1
movsx eax, byte [0x14007d25c]
add eax, dword [rsp + 0x128]
mov dword [0x14007d210], eax
mov eax, dword [0x14007d258]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x38], eax
movzx eax, byte [0x14007d22c]
movsx ecx, byte [rsp + 0x20]
add eax, ecx
sub eax, dword [rsp + 0x28]
mov dword [0x14007d240], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x20]
and eax, ecx
mov ecx, dword [0x14007d20c]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d250], eax
jmp 0x140054b9f
cmp dword [0x14007d214], 0
je 0x140054c87
cmp dword [rsp + 0x30], 0
je 0x140054c87
mov dword [rsp + 0x12c], 1
jmp 0x140054c92
mov dword [rsp + 0x12c], 0
movsx eax, byte [0x14007d22e]
and eax, dword [rsp + 0x12c]
mov byte [0x14007d22e], al
call qword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
movsx eax, byte [rsp + 0x22]
movsx ecx, byte [rsp + 0x20]
and eax, ecx
mov ecx, dword [0x14007d234]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d238]
and ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jne 0x140054ce9
mov dword [rsp + 0x130], 1
jmp 0x140054cf4
mov dword [rsp + 0x130], 0
mov eax, dword [rsp + 0x130]
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d244]
and ecx, eax
mov eax, ecx
mov byte [0x14007d203], al
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x28]
sar eax, cl
test eax, eax
jne 0x140054d38
cmp dword [rsp + 0x38], 0
jne 0x140054d38
mov dword [rsp + 0x134], 0
jmp 0x140054d43
mov dword [rsp + 0x134], 1
movsx eax, byte [0x14007d22d]
cmp eax, dword [rsp + 0x134]
jne 0x140054d60
mov dword [rsp + 0x138], 1
jmp 0x140054d6b
mov dword [rsp + 0x138], 0
movzx eax, byte [0x14007d202]
sub eax, dword [rsp + 0x138]
mov byte [0x14007d202], al
mov eax, dword [rsp + 0x28]
cmp dword [0x14007d23c], eax
jbe 0x140054e0a
cmp dword [rsp + 0x34], 0
je 0x140054e0a
movsx eax, byte [0x14007d201]
test eax, eax
je 0x140054e0a
movsx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shl eax, cl
test eax, eax
jne 0x140054dc3
cmp dword [rsp + 0x38], 0
jne 0x140054dc3
mov dword [rsp + 0x13c], 0
jmp 0x140054dce
mov dword [rsp + 0x13c], 1
movsx eax, byte [0x14007d21d]
cmp eax, dword [rsp + 0x13c]
jne 0x140054deb
mov dword [rsp + 0x140], 1
jmp 0x140054df6
mov dword [rsp + 0x140], 0
movsx eax, byte [0x14007d21c]
and eax, dword [rsp + 0x140]
mov byte [0x14007d21c], al
movsx eax, byte [rsp + 0x25]
add eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x14007d234]
shl eax, cl
test eax, eax
je 0x140054e41
mov eax, dword [0x14007d244]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
test eax, eax
je 0x140054e41
mov dword [rsp + 0x144], 1
jmp 0x140054e4c
mov dword [rsp + 0x144], 0
mov eax, dword [rsp + 0x144]
mov ecx, dword [0x14007d204]
and ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [0x14007d250]
shr eax, cl
movsx ecx, byte [rsp + 0x20]
or eax, ecx
test eax, eax
je 0x140054e9c
mov eax, dword [0x14007d224]
mov ecx, dword [rsp + 0x38]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140054e9c
mov dword [rsp + 0x148], 1
jmp 0x140054ea7
mov dword [rsp + 0x148], 0
movsx eax, byte [0x14007d25c]
xor eax, dword [rsp + 0x148]
mov byte [0x14007d25c], al
imul eax, dword [0x14007d20c], 6
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 6
div ecx
mov eax, edx
mov dword [rsp + 0x1f0], eax
mov eax, dword [rsp + 0x1f0]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x140054f14
cmp dword [rsp + 0x70], 1
je 0x140054f7f
cmp dword [rsp + 0x70], 2
je 0x140054fee
cmp dword [rsp + 0x70], 3
je 0x14005504c
jmp 0x1400550d5
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x14007d234]
imul ecx, eax
mov eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov dword [rsp + 0x38], eax
movsx eax, byte [0x14007d200]
test eax, eax
je 0x140054f44
cmp dword [rsp + 0x2c], 0
jne 0x140054f58
cmp dword [rsp + 0x40], 0
jne 0x140054f58
mov dword [rsp + 0x14c], 0
jmp 0x140054f63
mov dword [rsp + 0x14c], 1
mov eax, dword [rsp + 0x14c]
mov ecx, dword [0x14007d254]
or ecx, eax
mov eax, ecx
mov dword [0x14007d254], eax
jmp 0x1400550d5
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jne 0x140054f96
mov dword [rsp + 0x150], 1
jmp 0x140054fa1
mov dword [rsp + 0x150], 0
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x150]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d258]
and ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
movsx eax, byte [0x14007d22d]
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x2c]
sar edx, cl
mov ecx, edx
or ecx, dword [rsp + 0x30]
sub eax, ecx
mov ecx, dword [0x14007d224]
add ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
jmp 0x1400550d5
movsx eax, byte [0x14007d203]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x2c]
shl edx, cl
mov ecx, edx
or eax, ecx
test eax, eax
je 0x140055025
movzx eax, byte [rsp + 0x23]
mov ecx, dword [0x14007d244]
sar eax, cl
test eax, eax
je 0x140055025
mov dword [rsp + 0x154], 1
jmp 0x140055030
mov dword [rsp + 0x154], 0
mov eax, dword [rsp + 0x154]
mov ecx, dword [0x14007d204]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
jmp 0x1400550d5
movzx eax, byte [0x14007d21e]
movsx ecx, byte [rsp + 0x25]
and eax, ecx
test eax, eax
jne 0x140055072
cmp dword [rsp + 0x40], 0
jne 0x140055072
mov dword [rsp + 0x158], 0
jmp 0x14005507d
mov dword [rsp + 0x158], 1
mov eax, dword [rsp + 0x158]
mov ecx, dword [0x14007d224]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movsx eax, byte [0x14007d25c]
test eax, eax
je 0x1400550bd
movsx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x2c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400550bd
mov dword [rsp + 0x15c], 1
jmp 0x1400550c8
mov dword [rsp + 0x15c], 0
mov eax, dword [rsp + 0x15c]
mov dword [0x14007d214], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, 0x16e
mov word [rsp + 0x4c], ax
mov eax, 0x12
mov word [rsp + 0x4c], ax
jmp 0x1400550fe
movzx eax, word [rsp + 0x4c]
inc ax
mov word [rsp + 0x4c], ax
movsx eax, word [rsp + 0x4c]
cmp eax, 0x7c
jge 0x140055325
movsx eax, byte [rsp + 0x24]
cmp eax, dword [0x14007d248]
jae 0x140055126
mov dword [rsp + 0x160], 1
jmp 0x140055131
mov dword [rsp + 0x160], 0
mov eax, dword [rsp + 0x160]
cmp dword [rsp + 0x38], eax
jae 0x14005514b
mov dword [rsp + 0x164], 1
jmp 0x140055156
mov dword [rsp + 0x164], 0
mov eax, dword [rsp + 0x164]
cmp dword [0x14007d254], eax
jne 0x1400551e3
movsx eax, byte [0x14007d200]
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x3c]
shl edx, cl
mov ecx, edx
mov dword [rsp + 0x1f4], ecx
movsx edx, byte [rsp + 0x22]
movzx ecx, dl
mov edx, dword [rsp + 0x1f4]
sar edx, cl
mov ecx, edx
xor eax, ecx
mov dword [0x14007d23c], eax
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x21]
sub eax, ecx
cmp eax, dword [rsp + 0x30]
jne 0x1400551b9
mov dword [rsp + 0x168], 1
jmp 0x1400551c4
mov dword [rsp + 0x168], 0
movsx eax, byte [0x14007d22d]
xor eax, dword [rsp + 0x168]
movsx ecx, byte [0x14007d201]
and ecx, eax
mov eax, ecx
mov byte [0x14007d201], al
mov eax, dword [rsp + 0x2c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x14007d210]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x20]
or eax, ecx
mov ecx, dword [0x14007d218]
xor ecx, eax
mov eax, ecx
movsx ecx, byte [0x14007d22f]
or ecx, eax
mov eax, ecx
mov byte [0x14007d22f], al
movsx eax, byte [0x14007d21d]
mov ecx, dword [rsp + 0x2c]
sar eax, cl
mov byte [0x14007d203], al
movsx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140055265
cmp dword [rsp + 0x30], 0
jne 0x140055265
mov dword [rsp + 0x16c], 0
jmp 0x140055270
mov dword [rsp + 0x16c], 1
movsx eax, byte [0x14007d203]
sub eax, dword [rsp + 0x16c]
mov ecx, dword [0x14007d1fc]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d1fc], eax
movsx eax, byte [rsp + 0x25]
mov ecx, dword [0x14007d208]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d238]
and ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
cmp dword [0x14007d204], 0
jne 0x1400552d4
mov eax, dword [rsp + 0x40]
movzx ecx, al
mov eax, dword [rsp + 0x28]
sar eax, cl
test eax, eax
jne 0x1400552d4
mov dword [rsp + 0x170], 0
jmp 0x1400552df
mov dword [rsp + 0x170], 1
mov eax, dword [rsp + 0x170]
mov dword [0x14007d208], eax
movsx eax, byte [0x14007d22e]
mov ecx, dword [rsp + 0x3c]
sar eax, cl
movsx ecx, byte [rsp + 0x20]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
shl eax, cl
movsx ecx, byte [0x14007d25c]
and eax, ecx
movsx ecx, byte [0x14007d21d]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d21d], al
jmp 0x1400550f1
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
je 0x140055380
movzx eax, byte [0x14007d22c]
add eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140055361
movsx eax, byte [rsp + 0x22]
sub eax, dword [rsp + 0x3c]
movsx ecx, byte [0x14007d25c]
sub eax, ecx
test eax, eax
jne 0x140055361
mov dword [rsp + 0x174], 0
jmp 0x14005536c
mov dword [rsp + 0x174], 1
movzx eax, byte [0x14007d202]
or eax, dword [rsp + 0x174]
mov byte [0x14007d202], al
mov eax, dword [0x14007d254]
imul eax, dword [rsp + 0x2c]
cdq
mov ecx, 5
idiv ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x28], 0
jne 0x1400553bd
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x1400553b0
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400553bd
mov dword [rsp + 0x178], 0
jmp 0x1400553c8
mov dword [rsp + 0x178], 1
mov eax, dword [rsp + 0x178]
mov ecx, dword [0x14007d20c]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d24c]
add ecx, eax
mov eax, ecx
mov dword [0x14007d24c], eax
movzx eax, byte [rsp + 0x23]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x14007d240]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x21], al
call qword [sym.imp.KERNEL32.dll_FlushProcessWriteBuffers]
cmp dword [rsp + 0x28], 0
je 0x140055461
mov eax, dword [0x14007d214]
cmp dword [rsp + 0x2c], eax
je 0x140055461
mov eax, dword [rsp + 0x34]
cmp dword [0x14007d23c], eax
jne 0x140055437
mov dword [rsp + 0x17c], 1
jmp 0x140055442
mov dword [rsp + 0x17c], 0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x17c]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d210]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d210], eax
movsx eax, byte [rsp + 0x22]
sub eax, dword [rsp + 0x2c]
movsx ecx, byte [rsp + 0x22]
and eax, ecx
cmp dword [0x14007d254], eax
jne 0x140055486
mov dword [rsp + 0x180], 1
jmp 0x140055491
mov dword [rsp + 0x180], 0
mov eax, dword [rsp + 0x180]
mov ecx, dword [0x14007d218]
and ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
mov eax, dword [rsp + 0x28]
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [0x14007d24c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x24]
cmp eax, ecx
jne 0x1400554dd
mov dword [rsp + 0x184], 1
jmp 0x1400554e8
mov dword [rsp + 0x184], 0
movsx eax, byte [0x14007d21c]
xor eax, dword [rsp + 0x184]
mov dword [0x14007d208], eax
mov eax, dword [rsp + 0x3c]
movzx ecx, al
mov eax, dword [0x14007d258]
shr eax, cl
mov dword [0x14007d208], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov eax, dword [0x14007d20c]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov dword [rsp + 0x1f8], eax
mov eax, dword [rsp + 0x1f8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x14005556b
cmp dword [rsp + 0x74], 1
je 0x1400555c8
cmp dword [rsp + 0x74], 2
je 0x140055631
cmp dword [rsp + 0x74], 3
je 0x14005569f
jmp 0x1400556c0
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [0x14007d230]
shr eax, cl
movsx ecx, byte [rsp + 0x22]
and eax, ecx
test eax, eax
jne 0x1400555a4
movsx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400555a4
cmp dword [0x14007d238], 0
jne 0x1400555a4
mov dword [rsp + 0x188], 0
jmp 0x1400555af
mov dword [rsp + 0x188], 1
movzx eax, byte [0x14007d22c]
xor eax, dword [rsp + 0x188]
mov byte [0x14007d22c], al
jmp 0x1400556f5
mov eax, dword [rsp + 0x40]
movzx ecx, al
mov eax, dword [0x14007d20c]
shr eax, cl
movsx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x1400555ed
mov dword [rsp + 0x18c], 1
jmp 0x1400555f8
mov dword [rsp + 0x18c], 0
mov eax, dword [rsp + 0x18c]
mov ecx, dword [0x14007d228]
or ecx, eax
mov eax, ecx
mov dword [0x14007d228], eax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 5
div ecx
mov eax, edx
mov ecx, dword [0x14007d228]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
jmp 0x1400556f5
movsx eax, byte [rsp + 0x20]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x14007d210]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x23], al
cmp dword [rsp + 0x28], 0
je 0x140055671
movzx eax, byte [rsp + 0x23]
movsx ecx, byte [rsp + 0x24]
sar eax, cl
test eax, eax
je 0x140055671
mov dword [rsp + 0x190], 1
jmp 0x14005567c
mov dword [rsp + 0x190], 0
mov eax, dword [rsp + 0x190]
mov ecx, dword [0x14007d224]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d234]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d234], eax
jmp 0x1400556f5
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [0x14007d250]
shr eax, cl
mov ecx, dword [0x14007d204]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
jmp 0x1400556f5
movzx eax, byte [rsp + 0x23]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov ecx, dword [0x14007d214]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [0x14007d1fc]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x14007d248]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x20]
add eax, ecx
mov ecx, dword [0x14007d220]
and ecx, eax
mov eax, ecx
mov dword [0x14007d220], eax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [0x14007d1fc], 0
je 0x140055740
movsx eax, byte [rsp + 0x20]
test eax, eax
je 0x140055740
cmp dword [rsp + 0x30], 0
je 0x140055740
mov byte [rsp + 0x47], 1
jmp 0x140055745
mov byte [rsp + 0x47], 0
movzx eax, byte [rsp + 0x47]
mov byte [0x14007d22d], al
cmp dword [rsp + 0x3c], 0
jne 0x140055776
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140055769
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140055776
mov dword [rsp + 0x194], 0
jmp 0x140055781
mov dword [rsp + 0x194], 1
mov eax, dword [rsp + 0x194]
mov ecx, dword [0x14007d234]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d22c], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [0x14007d228]
lea eax, [rax + rcx*4]
xor edx, edx
mov ecx, 9
div ecx
mov eax, edx
mov dword [rsp + 0x1fc], eax
mov eax, dword [rsp + 0x1fc]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x1400557eb
cmp dword [rsp + 0x78], 1
je 0x140055832
cmp dword [rsp + 0x78], 2
je 0x1400558bf
cmp dword [rsp + 0x78], 3
je 0x140055919
jmp 0x140055992
xor edx, edx
mov eax, dword [rsp + 0x34]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [0x14007d238]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x24], al
movzx eax, byte [0x14007d202]
movzx ecx, byte [rsp + 0x23]
sar eax, cl
mov ecx, dword [rsp + 0x40]
sar eax, cl
movsx ecx, byte [0x14007d201]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d201], al
jmp 0x1400559bc
movsx eax, byte [0x14007d201]
movsx ecx, byte [rsp + 0x24]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x23]
movsx ecx, byte [rsp + 0x25]
shl eax, cl
movsx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x140055871
mov dword [rsp + 0x198], 1
jmp 0x14005587c
mov dword [rsp + 0x198], 0
mov eax, dword [rsp + 0x198]
cmp dword [0x14007d214], eax
jne 0x140055898
mov dword [rsp + 0x19c], 1
jmp 0x1400558a3
mov dword [rsp + 0x19c], 0
mov eax, dword [rsp + 0x19c]
mov ecx, dword [0x14007d204]
or ecx, eax
mov eax, ecx
mov dword [0x14007d204], eax
jmp 0x1400559bc
movsx eax, byte [0x14007d201]
movsx ecx, byte [rsp + 0x20]
and eax, ecx
movsx ecx, byte [rsp + 0x21]
and eax, ecx
movsx ecx, byte [0x14007d21c]
mov edx, dword [rsp + 0x34]
add edx, ecx
mov ecx, edx
and eax, ecx
movsx ecx, byte [0x14007d22e]
or ecx, eax
mov eax, ecx
mov byte [0x14007d22e], al
movsx eax, byte [rsp + 0x24]
mov ecx, dword [0x14007d234]
imul ecx, eax
mov eax, ecx
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov dword [rsp + 0x30], eax
jmp 0x1400559bc
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x28]
sar eax, cl
test eax, eax
jne 0x14005593e
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x14005593e
mov dword [rsp + 0x1a0], 0
jmp 0x140055949
mov dword [rsp + 0x1a0], 1
mov eax, dword [rsp + 0x1a0]
mov ecx, dword [0x14007d248]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d248]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d248], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [0x14007d214]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x20]
shl eax, cl
movzx ecx, byte [0x14007d21f]
sub ecx, eax
mov eax, ecx
mov byte [0x14007d21f], al
jmp 0x1400559bc
movsx eax, byte [0x14007d21c]
mov dword [rsp + 0x200], eax
mov eax, dword [rsp + 0x2c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [rsp + 0x200]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x25], al
mov eax, 0xffffffb5
mov word [rsp + 0x58], ax
movsx eax, word [rsp + 0x58]
mov dword [rsp + 0x204], eax
movzx eax, word [rsp + 0x58]
inc ax
mov word [rsp + 0x58], ax
cmp dword [rsp + 0x204], 0
je 0x140055a42
movsx eax, byte [rsp + 0x25]
movzx ecx, al
mov eax, dword [0x14007d224]
shr eax, cl
movsx ecx, byte [rsp + 0x20]
shr eax, cl
or eax, dword [rsp + 0x38]
test eax, eax
je 0x140055a1e
cmp dword [0x14007d228], 0
je 0x140055a1e
mov dword [rsp + 0x1a4], 1
jmp 0x140055a29
mov dword [rsp + 0x1a4], 0
mov eax, dword [rsp + 0x1a4]
mov ecx, dword [0x14007d238]
and ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
jmp 0x1400559c6
movsx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x23]
and eax, ecx
test eax, eax
jne 0x140055a68
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140055a68
mov dword [rsp + 0x1a8], 0
jmp 0x140055a73
mov dword [rsp + 0x1a8], 1
movzx eax, byte [0x14007d21f]
cmp eax, dword [rsp + 0x1a8]
jne 0x140055a8a
mov byte [rsp + 0x48], 1
jmp 0x140055a8f
mov byte [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [0x14007d202], al
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x14007d250]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov byte [rsp + 0x22], al
mov eax, dword [0x14007d220]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov byte [rsp + 0x20], al
movsx eax, byte [0x14007d22f]
cmp eax, dword [rsp + 0x34]
jne 0x140055aed
mov dword [rsp + 0x1ac], 1
jmp 0x140055af8
mov dword [rsp + 0x1ac], 0
mov eax, dword [rsp + 0x1ac]
mov ecx, dword [0x14007d254]
or ecx, eax
mov eax, ecx
mov dword [0x14007d254], eax
movsx eax, byte [0x14007d22d]
movsx ecx, byte [rsp + 0x22]
movzx edx, byte [rsp + 0x23]
add ecx, edx
and ecx, dword [rsp + 0x38]
sar eax, cl
mov byte [0x14007d201], al
movsx eax, byte [rsp + 0x24]
movsx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x140055bb9
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x14007d1fc]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
and eax, ecx
mov ecx, dword [0x14007d214]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d214], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x14007d258]
or ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
mov eax, dword [rsp + 0x3c]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [0x14007d240]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x23], al
movsx eax, byte [rsp + 0x25]
movsx ecx, byte [rsp + 0x21]
add eax, ecx
movzx ecx, al
mov eax, dword [0x14007d210]
sar eax, cl
mov ecx, dword [0x14007d238]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d238], eax
mov dword [rsp + 0x5c], 0x19b
mov dword [rsp + 0x5c], 0x12
jmp 0x140055bd5
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x49d
jge 0x140055e3f
cmp dword [rsp + 0x28], 0
je 0x140055d7c
movsx eax, byte [rsp + 0x20]
test eax, eax
je 0x140055d7c
cmp dword [0x14007d24c], 0
je 0x140055d7c
movzx eax, byte [rsp + 0x23]
movsx ecx, byte [rsp + 0x22]
or eax, ecx
test eax, eax
je 0x140055c2e
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140055c2e
mov dword [rsp + 0x1b0], 1
jmp 0x140055c39
mov dword [rsp + 0x1b0], 0
mov eax, dword [rsp + 0x1b0]
mov ecx, dword [0x14007d210]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d224]
add ecx, eax
mov eax, ecx
mov dword [0x14007d224], eax
movsx eax, byte [0x14007d25c]
mov dword [rsp + 0x208], eax
xor edx, edx
mov eax, dword [rsp + 0x30]
mov ecx, 5
div ecx
mov ecx, dword [rsp + 0x208]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x25], al
movsx eax, byte [rsp + 0x21]
sub eax, dword [rsp + 0x34]
mov ecx, dword [0x14007d208]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x14007d228]
add ecx, eax
mov eax, ecx
mov dword [0x14007d228], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x14007d1fc]
xor ecx, eax
mov eax, ecx
mov byte [0x14007d21c], al
cmp dword [0x14007d230], 0
je 0x140055ce4
movsx eax, byte [rsp + 0x21]
sub eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
sar eax, cl
test eax, eax
je 0x140055ce4
mov dword [rsp + 0x1b4], 1
jmp 0x140055cef
mov dword [rsp + 0x1b4], 0
mov eax, dword [rsp + 0x1b4]
mov ecx, dword [0x14007d24c]
xor ecx, eax
mov eax, ecx
mov dword [0x14007d24c], eax
movsx eax, byte [0x14007d201]
movsx ecx, byte [rsp + 0x24]
and eax, ecx
movsx ecx, byte [rsp + 0x22]
mov edx, dword [rsp + 0x38]
xor edx, ecx
mov ecx, edx
or eax, ecx
test eax, eax
je 0x140055d3d
cmp dword [0x14007d258], 0
je 0x140055d3d
mov dword [rsp + 0x1b8], 1
jmp 0x140055d48
mov dword [rsp + 0x1b8], 0
mov eax, dword [rsp + 0x1b8]
mov ecx, dword [0x14007d24c]
sub ecx, eax
mov eax, ecx
mov dword [0x14007d24c], eax
xor edx, edx
mov eax, dword [rsp + 0x40]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [0x14007d1fc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
movzx ecx, al
mov eax, dword [0x14007d224]
shr eax, cl
test eax, eax
jne 0x140055d9d
cmp dword [rsp + 0x34], 0
jne 0x140055d9d
mov byte [rsp + 0x49], 0
jmp 0x140055da2
mov byte [rsp + 0x49], 1
movzx eax, byte [rsp + 0x49]
mov byte [0x14007d202], al
movzx eax, byte [0x14007d21e]
test eax, eax
jne 0x140055e22
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x3c], eax
jne 0x140055dcf
mov dword [rsp + 0x1bc], 1
jmp 0x140055dda
mov dword [rsp + 0x1bc], 0
movsx eax, byte [rsp + 0x25]
cmp dword [rsp + 0x1bc], eax
jne 0x140055df5
mov dword [rsp + 0x1c0], 1
jmp 0x140055e00
mov dword [rsp + 0x1c0], 0
mov eax, dword [0x14007d1fc]
mov ecx, dword [rsp + 0x1c0]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140055e22
mov dword [rsp + 0x1c4], 0
jmp 0x140055e2d
mov dword [rsp + 0x1c4], 1
mov eax, dword [rsp + 0x1c4]
mov dword [0x14007d234], eax
jmp 0x140055bcb
call qword [sym.imp.KERNEL32.dll_GetThreadErrorMode]
movsx eax, byte [0x14007d22e]
movzx ecx, byte [rsp + 0x23]
imul eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov byte [rsp + 0x24], al
movsx eax, byte [rsp + 0x20]
mov ecx, dword [0x14007d23c]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x24]
add eax, ecx
movsx ecx, byte [0x14007d200]
mov edx, dword [rsp + 0x38]
sub edx, ecx
mov ecx, edx
or eax, ecx
mov ecx, dword [0x14007d218]
add ecx, eax
mov eax, ecx
mov dword [0x14007d218], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [0x14007d228]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x20]
or eax, ecx
mov ecx, dword [0x14007d230]
or ecx, eax
mov eax, ecx
mov dword [0x14007d230], eax
mov r8d, dword [0x14007d208]
mov edx, dword [0x14007d248]
movzx ecx, byte [0x14007d218]
call fcn.140055ef0
movsx eax, byte [rsp + 0x25]
mov ecx, dword [rsp + 0x30]
sar eax, cl
add rsp, 0x218
ret