Function at 0x140030f90
Capabilities:
Accept command line arguments
Allocate thread local storage
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x168
mov byte [rsp + 0x23], 0x25
mov byte [rsp + 0x20], 0x42
mov dword [rsp + 0x38], 0x220
mov byte [rsp + 0x25], 0xf1
mov byte [rsp + 0x26], 0x4d
mov dword [rsp + 0x30], 0xee
mov byte [rsp + 0x27], 0xa2
mov dword [rsp + 0x40], pe_nt_image_headers64
mov dword [rsp + 0x2c], 0x40f
mov dword [rsp + 0x34], 0x277
mov byte [rsp + 0x22], 0x76
mov byte [rsp + 0x21], 0x46
mov byte [rsp + 0x24], 0xc8
mov dword [rsp + 0x28], 9
movzx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x140031031
movsx eax, byte [0x140074c6c]
test eax, eax
je 0x140031031
movsx eax, byte [0x140074c6c]
sub eax, dword [rsp + 0x30]
movzx ecx, byte [0x140074c8a]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c8a], al
cmp dword [0x140074c3c], 0
je 0x14003104b
cmp dword [rsp + 0x40], 0
je 0x14003104b
mov dword [rsp + 0x74], 1
jmp 0x140031053
mov dword [rsp + 0x74], 0
movzx eax, byte [0x140074c8a]
or eax, dword [rsp + 0x74]
mov byte [0x140074c8a], al
movzx eax, byte [0x140074b8e]
movzx ecx, byte [rsp + 0x25]
add eax, ecx
movzx ecx, byte [rsp + 0x20]
shl eax, cl
mov ecx, dword [0x140074c3c]
add ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
movzx eax, byte [rsp + 0x23]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shl eax, cl
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c28]
xor ecx, eax
mov eax, ecx
mov dword [0x140074a68], eax
mov eax, 0xb6
mov word [rsp + 0x44], ax
mov eax, 0xd
mov word [rsp + 0x44], ax
jmp 0x1400310d2
movzx eax, word [rsp + 0x44]
inc ax
mov word [rsp + 0x44], ax
movsx eax, word [rsp + 0x44]
cmp eax, 0xbef
jge 0x140031123
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
cmp eax, dword [rsp + 0x38]
jne 0x1400310fa
mov dword [rsp + 0x78], 1
jmp 0x140031102
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
movzx ecx, al
mov eax, dword [0x140074a6c]
shl eax, cl
mov ecx, dword [0x140074a6c]
sub ecx, eax
mov eax, ecx
mov dword [0x140074a6c], eax
jmp 0x1400310c5
movzx eax, byte [0x140074c5f]
test eax, eax
je 0x14003113f
cmp dword [rsp + 0x28], 0
je 0x14003113f
mov dword [rsp + 0x7c], 1
jmp 0x140031147
mov dword [rsp + 0x7c], 0
movzx eax, byte [0x140074c89]
sub eax, dword [rsp + 0x7c]
mov byte [0x140074c89], al
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [0x140074c68]
sar eax, cl
movsx ecx, byte [rsp + 0x21]
or eax, ecx
mov ecx, dword [0x140074c70]
or ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
movzx eax, byte [0x140074c5f]
movzx ecx, byte [rsp + 0x27]
mov dword [rsp + 0x11c], ecx
movzx edx, byte [rsp + 0x26]
movzx ecx, dl
mov edx, dword [rsp + 0x11c]
shl edx, cl
mov ecx, edx
mov dword [rsp + 0x120], ecx
movzx edx, byte [rsp + 0x27]
movzx r8d, byte [0x140074c5c]
add edx, r8d
movzx ecx, dl
mov edx, dword [rsp + 0x120]
sar edx, cl
mov ecx, edx
or eax, ecx
mov dword [0x140074c2c], eax
cmp dword [0x140074c60], 0
je 0x140031206
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
and eax, dword [0x140074c74]
mov ecx, dword [rsp + 0x30]
xor ecx, eax
mov eax, ecx
test eax, eax
je 0x140031206
mov dword [rsp + 0x80], 1
jmp 0x140031211
mov dword [rsp + 0x80], 0
movsx eax, byte [0x140074a63]
or eax, dword [rsp + 0x80]
mov byte [0x140074a63], al
movzx eax, byte [0x140074b8e]
movzx ecx, byte [rsp + 0x23]
cmp eax, ecx
jne 0x140031242
mov dword [rsp + 0x84], 1
jmp 0x14003124d
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov ecx, dword [0x140074c30]
add ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
movzx eax, byte [0x140074c6d]
test eax, eax
jne 0x14003128f
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140031288
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x14003128f
mov byte [rsp + 0x3c], 0
jmp 0x140031294
mov byte [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
mov byte [0x140074a62], al
movzx eax, byte [rsp + 0x26]
movsx ecx, byte [rsp + 0x22]
and eax, ecx
test eax, eax
je 0x1400312c5
movsx eax, byte [rsp + 0x22]
test eax, eax
je 0x1400312c5
mov dword [rsp + 0x88], 1
jmp 0x1400312d0
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov ecx, dword [0x140074c54]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c50]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c50], eax
cmp dword [0x140074c8c], 0
jne 0x140031336
cmp dword [rsp + 0x2c], 0
jne 0x140031336
movzx eax, byte [rsp + 0x24]
movsx ecx, byte [0x140074c6c]
cmp eax, ecx
jle 0x14003131e
mov dword [rsp + 0x8c], 1
jmp 0x140031329
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x8c], eax
jae 0x140031371
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c64]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x26]
sub ecx, dword [rsp + 0x28]
mov dword [rsp + 0x124], ecx
movzx edx, byte [0x140074b8e]
movzx ecx, dl
mov edx, dword [rsp + 0x124]
shl edx, cl
mov ecx, edx
or eax, ecx
mov byte [0x140074a63], al
movzx eax, byte [0x140074b8f]
mov dword [rsp + 0x128], eax
xor edx, edx
mov eax, dword [rsp + 0x30]
mov ecx, 4
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x128]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movsx eax, byte [rsp + 0x22]
imul ecx, dword [0x140074c74], 5
add eax, ecx
xor edx, edx
mov ecx, 9
div ecx
mov eax, edx
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x12c]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1400313f1
cmp dword [rsp + 0x54], 1
je 0x140031430
cmp dword [rsp + 0x54], 2
je 0x1400314a2
cmp dword [rsp + 0x54], 3
je 0x1400314da
jmp 0x14003152b
movsx eax, byte [rsp + 0x21]
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [0x140074c8c]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x24], al
movzx eax, byte [0x140074c8a]
movzx ecx, byte [rsp + 0x27]
add eax, ecx
movzx ecx, byte [0x140074c88]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c88], al
jmp 0x14003152b
movzx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x21]
or eax, ecx
test eax, eax
jne 0x140031456
movzx eax, byte [rsp + 0x27]
test eax, eax
jne 0x140031456
mov dword [rsp + 0x90], 0
jmp 0x140031461
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov ecx, dword [0x140074c2c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c68]
or ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
movsx eax, byte [0x140074c5e]
imul eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov byte [rsp + 0x22], al
jmp 0x14003152b
movsx eax, byte [0x140074c5e]
imul eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 3
div ecx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x24]
mov ecx, dword [0x140074c84]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov byte [rsp + 0x26], al
jmp 0x14003152b
movzx eax, byte [0x140074c5f]
add eax, dword [rsp + 0x2c]
test eax, eax
je 0x14003150c
cmp dword [rsp + 0x28], 0
je 0x14003150c
movsx eax, byte [rsp + 0x21]
xor eax, dword [0x140074a64]
test eax, eax
je 0x14003150c
mov dword [rsp + 0x94], 1
jmp 0x140031517
mov dword [rsp + 0x94], 0
movzx eax, byte [0x140074c89]
or eax, dword [rsp + 0x94]
mov byte [0x140074c89], al
cmp dword [rsp + 0x34], 0
jne 0x140031539
cmp dword [rsp + 0x38], 0
je 0x14003156c
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x24]
add ecx, edx
sar eax, cl
xor eax, dword [0x140074c38]
mov ecx, dword [0x140074a6c]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x140074a68]
add ecx, eax
mov eax, ecx
mov dword [0x140074a68], eax
movzx eax, byte [0x140074c6d]
movzx ecx, byte [rsp + 0x24]
mov edx, dword [rsp + 0x40]
sub edx, ecx
mov ecx, edx
movzx edx, byte [rsp + 0x20]
and ecx, edx
and eax, ecx
movzx ecx, byte [0x140074c89]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c89], al
movzx eax, byte [rsp + 0x24]
movzx ecx, al
mov eax, dword [rsp + 0x38]
shr eax, cl
mov ecx, dword [rsp + 0x34]
shr eax, cl
mov ecx, dword [0x140074c48]
xor ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074c88]
or ecx, eax
mov eax, ecx
mov byte [0x140074c88], al
movzx eax, byte [0x140074b8e]
movsx ecx, byte [rsp + 0x22]
mov edx, dword [rsp + 0x30]
add edx, ecx
mov ecx, edx
and eax, ecx
movzx ecx, byte [0x140074c6d]
or ecx, eax
mov eax, ecx
mov byte [0x140074c6d], al
movzx eax, byte [0x140074c8b]
imul eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 3
div ecx
mov byte [rsp + 0x22], al
cmp dword [0x140074a6c], 0
je 0x140031626
cmp dword [rsp + 0x38], 0
je 0x140031626
mov dword [rsp + 0x98], 1
jmp 0x140031631
mov dword [rsp + 0x98], 0
movzx eax, byte [0x140074c89]
add eax, dword [rsp + 0x98]
mov byte [0x140074c89], al
movzx eax, byte [rsp + 0x26]
mov ecx, dword [0x140074c60]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140031666
cmp dword [rsp + 0x28], 0
je 0x140031666
mov byte [rsp + 0x3d], 1
jmp 0x14003166b
mov byte [rsp + 0x3d], 0
movzx eax, byte [rsp + 0x3d]
mov byte [0x140074c88], al
cmp dword [0x140074c50], 0
je 0x140031695
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x140031695
mov dword [rsp + 0x9c], 1
jmp 0x1400316a0
mov dword [rsp + 0x9c], 0
movsx eax, byte [0x140074c90]
and eax, dword [rsp + 0x9c]
mov byte [0x140074c90], al
movsx eax, byte [0x140074c6c]
movzx ecx, byte [rsp + 0x25]
movzx edx, byte [rsp + 0x20]
add ecx, edx
shl eax, cl
mov ecx, dword [0x140074c30]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c30], eax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
call qword [sym.imp.KERNEL32.dll_GetACP]
cmp dword [0x140074c28], 0
jne 0x140031707
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140031728
movzx eax, byte [rsp + 0x23]
movsx ecx, byte [0x140074c6c]
cmp eax, ecx
jge 0x140031728
movzx eax, byte [rsp + 0x27]
movzx ecx, al
mov eax, dword [0x140074c74]
shl eax, cl
movzx ecx, byte [0x140074b8e]
add ecx, eax
mov eax, ecx
mov byte [0x140074b8e], al
movzx eax, byte [rsp + 0x20]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [0x140074c30]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x22], al
mov dword [rsp + 0x68], 0xffffff86
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x130], 0
je 0x140031790
movzx eax, byte [0x140074c5c]
movzx ecx, byte [rsp + 0x20]
mov edx, dword [rsp + 0x30]
sub edx, ecx
mov ecx, edx
movzx edx, byte [rsp + 0x23]
xor ecx, edx
and eax, ecx
mov dword [0x140074c68], eax
jmp 0x14003174c
movzx eax, byte [rsp + 0x26]
mov ecx, dword [0x140074c60]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x27]
movzx ecx, byte [rsp + 0x25]
add eax, ecx
movzx ecx, byte [rsp + 0x23]
or eax, ecx
mov ecx, dword [0x140074c74]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c28]
add ecx, eax
mov eax, ecx
mov dword [0x140074c28], eax
movzx eax, byte [0x140074c89]
movzx ecx, byte [rsp + 0x23]
shl eax, cl
test eax, eax
je 0x1400317f8
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x34], eax
je 0x14003180e
cmp dword [0x140074c50], 0
jne 0x14003180e
mov dword [rsp + 0xa0], 0
jmp 0x140031819
mov dword [rsp + 0xa0], 1
mov eax, dword [rsp + 0xa0]
mov dword [0x140074c68], eax
movzx eax, byte [0x140074b8e]
or eax, dword [rsp + 0x30]
mov ecx, dword [0x140074c54]
or ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
movsx eax, byte [0x140074a63]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 5
div ecx
mov eax, edx
mov dword [rsp + 0x134], eax
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14003189a
cmp dword [rsp + 0x58], 1
je 0x140031927
cmp dword [rsp + 0x58], 2
je 0x140031952
cmp dword [rsp + 0x58], 3
je 0x140031994
jmp 0x1400319eb
movsx eax, byte [0x140074c6f]
movsx ecx, byte [rsp + 0x21]
sar eax, cl
movsx ecx, byte [rsp + 0x22]
mov dword [rsp + 0x138], ecx
mov edx, dword [rsp + 0x2c]
movzx ecx, dl
mov edx, dword [rsp + 0x138]
sar edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x1400318e4
movsx eax, byte [0x140074c5d]
test eax, eax
je 0x1400318e4
mov dword [rsp + 0xa4], 1
jmp 0x1400318ef
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
mov ecx, dword [0x140074c54]
or ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
movsx eax, byte [0x140074c5d]
xor eax, dword [rsp + 0x2c]
movzx ecx, byte [0x140074b8f]
or ecx, eax
mov eax, ecx
mov byte [0x140074b8f], al
jmp 0x1400319eb
movzx eax, byte [0x140074c5f]
movsx ecx, byte [rsp + 0x22]
mov edx, dword [rsp + 0x38]
shr edx, cl
mov ecx, edx
or eax, ecx
mov ecx, dword [0x140074c54]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
jmp 0x1400319eb
movsx eax, byte [0x140074c6e]
test eax, eax
je 0x140031970
movzx eax, byte [rsp + 0x20]
sub eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
shl eax, cl
test eax, eax
jne 0x140031982
movsx eax, byte [0x140074c6c]
test eax, eax
jne 0x140031982
mov byte [rsp + 0x3f], 0
jmp 0x140031987
mov byte [rsp + 0x3f], 1
movzx eax, byte [rsp + 0x3f]
mov byte [0x140074c8a], al
jmp 0x1400319eb
movzx eax, byte [rsp + 0x20]
movzx ecx, al
mov eax, dword [0x140074c38]
sar eax, cl
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
test eax, eax
jne 0x1400319cc
cmp dword [rsp + 0x28], 0
jne 0x1400319cc
cmp dword [0x140074c8c], 0
jne 0x1400319cc
mov dword [rsp + 0xa8], 0
jmp 0x1400319d7
mov dword [rsp + 0xa8], 1
movzx eax, byte [0x140074c89]
or eax, dword [rsp + 0xa8]
mov byte [0x140074c89], al
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
movzx eax, byte [rsp + 0x23]
cmp dword [0x140074c8c], eax
ja 0x140031a30
movsx eax, byte [rsp + 0x21]
cmp eax, dword [0x140074c2c]
je 0x140031a18
mov dword [rsp + 0xac], 1
jmp 0x140031a23
mov dword [rsp + 0xac], 0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0xac], eax
jbe 0x140031a4d
movzx eax, byte [rsp + 0x20]
cdq
mov ecx, 5
idiv ecx
mov eax, edx
mov ecx, dword [0x140074a64]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x25]
movzx ecx, byte [rsp + 0x25]
mov dword [rsp + 0x13c], ecx
movzx edx, byte [rsp + 0x23]
movzx ecx, dl
mov edx, dword [rsp + 0x13c]
shl edx, cl
mov ecx, edx
cmp eax, ecx
jne 0x140031a82
mov dword [rsp + 0xb0], 1
jmp 0x140031a8d
mov dword [rsp + 0xb0], 0
mov eax, dword [rsp + 0xb0]
mov ecx, dword [0x140074c2c]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c8c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c8c], eax
movzx eax, byte [rsp + 0x20]
cmp eax, dword [rsp + 0x2c]
jge 0x140031b73
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x140074c50]
add ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
sub eax, ecx
sub eax, dword [rsp + 0x40]
mov ecx, dword [0x140074c3c]
shr eax, cl
movzx ecx, byte [0x140074c8b]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c8b], al
movsx eax, byte [0x140074c6e]
movzx ecx, byte [rsp + 0x23]
imul eax, ecx
cdq
mov ecx, 3
idiv ecx
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x34]
sar eax, cl
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
mov ecx, dword [0x140074c54]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c68]
and ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
cmp dword [0x140074a6c], 0
jne 0x140031b54
cmp dword [rsp + 0x2c], 0
jne 0x140031b54
mov dword [rsp + 0xb4], 0
jmp 0x140031b5f
mov dword [rsp + 0xb4], 1
movzx eax, byte [0x140074c89]
sub eax, dword [rsp + 0xb4]
mov byte [0x140074c89], al
mov eax, 0x84
mov word [rsp + 0x4c], ax
movsx eax, word [rsp + 0x4c]
mov dword [rsp + 0x140], eax
movzx eax, word [rsp + 0x4c]
dec ax
mov word [rsp + 0x4c], ax
cmp dword [rsp + 0x140], 0
je 0x140031dd6
cmp dword [0x140074c34], 0
jne 0x140031bd4
movsx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shl eax, cl
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x140031bd4
mov dword [rsp + 0xb8], 0
jmp 0x140031bdf
mov dword [rsp + 0xb8], 1
mov eax, dword [rsp + 0xb8]
mov ecx, dword [0x140074c48]
and ecx, eax
mov eax, ecx
mov dword [0x140074c48], eax
movsx eax, byte [0x140074c90]
movzx ecx, byte [rsp + 0x23]
add eax, ecx
movzx ecx, byte [0x140074b8f]
or ecx, eax
mov eax, ecx
mov byte [0x140074b8f], al
movzx eax, byte [rsp + 0x23]
mov ecx, dword [0x140074c74]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x28]
movzx ecx, byte [0x140074c5c]
xor ecx, eax
mov eax, ecx
mov byte [0x140074c5c], al
movzx eax, byte [0x140074c8b]
test eax, eax
je 0x140031c69
movsx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x28]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140031c5c
cmp dword [rsp + 0x28], 0
je 0x140031c69
mov dword [rsp + 0xbc], 1
jmp 0x140031c74
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
mov dword [0x140074a68], eax
movzx eax, byte [rsp + 0x26]
mov ecx, dword [0x140074a68]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x140031caa
movzx eax, byte [rsp + 0x26]
test eax, eax
jne 0x140031caa
mov dword [rsp + 0xc0], 0
jmp 0x140031cb5
mov dword [rsp + 0xc0], 1
movsx eax, byte [0x140074a62]
add eax, dword [rsp + 0xc0]
mov byte [0x140074a62], al
mov eax, dword [rsp + 0x38]
cmp dword [0x140074c28], eax
jne 0x140031ce2
mov dword [rsp + 0xc4], 1
jmp 0x140031ced
mov dword [rsp + 0xc4], 0
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x22]
sub eax, ecx
mov ecx, dword [rsp + 0xc4]
and ecx, eax
mov eax, ecx
or eax, dword [0x140074c48]
mov dword [0x140074c34], eax
cmp dword [0x140074c68], 0
je 0x140031d71
cmp dword [rsp + 0x2c], 0
je 0x140031d71
movzx eax, byte [0x140074c6d]
cmp dword [rsp + 0x40], eax
jbe 0x140031d3a
mov dword [rsp + 0xc8], 1
jmp 0x140031d45
mov dword [rsp + 0xc8], 0
movzx eax, byte [rsp + 0x26]
cmp dword [rsp + 0xc8], eax
jge 0x140031d71
mov eax, dword [rsp + 0x40]
mov ecx, dword [0x140074c84]
or ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c34]
or ecx, eax
mov eax, ecx
mov dword [0x140074c34], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074c80]
add ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
or eax, ecx
mov ecx, dword [0x140074c70]
and ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
movsx eax, byte [rsp + 0x21]
movzx ecx, al
mov eax, dword [0x140074a6c]
sar eax, cl
movsx ecx, byte [rsp + 0x22]
xor eax, ecx
mov byte [0x140074b8f], al
movsx eax, byte [0x140074c90]
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
mov ecx, dword [0x140074c54]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c54], eax
jmp 0x140031b7d
movsx eax, byte [0x140074c90]
movsx ecx, byte [rsp + 0x22]
mov edx, dword [rsp + 0x34]
add edx, ecx
mov ecx, edx
mov dword [rsp + 0x144], ecx
movsx edx, byte [rsp + 0x21]
movzx ecx, dl
mov edx, dword [rsp + 0x144]
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
jne 0x140031e22
movzx eax, byte [0x140074c5f]
test eax, eax
jne 0x140031e22
mov dword [rsp + 0xcc], 0
jmp 0x140031e2d
mov dword [rsp + 0xcc], 1
mov eax, dword [rsp + 0xcc]
mov dword [0x140074c3c], eax
mov eax, dword [0x140074c74]
imul eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 4
div ecx
mov dword [rsp + 0x28], eax
movzx eax, byte [0x140074c88]
test eax, eax
jne 0x140031e75
movsx eax, byte [rsp + 0x22]
cmp dword [rsp + 0x30], eax
je 0x140031e75
mov dword [rsp + 0xd0], 0
jmp 0x140031e80
mov dword [rsp + 0xd0], 1
movzx eax, byte [0x140074b8e]
xor eax, dword [rsp + 0xd0]
mov byte [0x140074b8e], al
movzx eax, byte [rsp + 0x25]
mov ecx, dword [0x140074c60]
sub ecx, eax
mov eax, ecx
movsx ecx, byte [rsp + 0x21]
mov edx, dword [rsp + 0x30]
add edx, ecx
mov ecx, edx
xor eax, ecx
movzx ecx, byte [0x140074c6d]
xor eax, ecx
mov ecx, dword [0x140074c2c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c2c], eax
mov dword [rsp + 0x5c], 0xbb
mov dword [rsp + 0x5c], 0xa
jmp 0x140031ee7
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0xb48
jae 0x140031f1e
movzx eax, byte [0x140074b8e]
movzx ecx, byte [rsp + 0x26]
and eax, ecx
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x2c]
xor edx, ecx
mov ecx, edx
or eax, ecx
movsx ecx, byte [0x140074a63]
or eax, ecx
mov byte [0x140074b8e], al
jmp 0x140031edd
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jne 0x140031f35
mov dword [rsp + 0xd4], 1
jmp 0x140031f40
mov dword [rsp + 0xd4], 0
movzx eax, byte [rsp + 0x25]
or eax, dword [rsp + 0xd4]
mov ecx, dword [0x140074c74]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c2c], eax
movzx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074a68]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x140031f85
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x140031f85
mov dword [rsp + 0xd8], 0
jmp 0x140031f90
mov dword [rsp + 0xd8], 1
movsx eax, byte [0x140074c5d]
sub eax, dword [rsp + 0xd8]
mov byte [0x140074c5d], al
movzx eax, byte [rsp + 0x24]
cmp dword [0x140074c80], eax
jne 0x140031fbe
mov dword [rsp + 0xdc], 1
jmp 0x140031fc9
mov dword [rsp + 0xdc], 0
movzx eax, byte [0x140074b8f]
add eax, dword [rsp + 0xdc]
mov byte [0x140074b8f], al
movsx eax, byte [0x140074c6e]
test eax, eax
jne 0x140032012
movzx eax, byte [rsp + 0x24]
movzx ecx, byte [rsp + 0x27]
shl eax, cl
mov ecx, dword [rsp + 0x34]
shl eax, cl
movzx ecx, byte [0x140074c8a]
cmp eax, ecx
je 0x140032012
mov dword [rsp + 0xe0], 0
jmp 0x14003201d
mov dword [rsp + 0xe0], 1
mov eax, dword [rsp + 0xe0]
mov ecx, dword [0x140074c4c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c4c], eax
mov dword [rsp + 0x6c], 0x78
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x6c]
dec eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x148], 0
je 0x14003220d
cmp dword [0x140074c48], 0
je 0x14003208d
movzx eax, byte [rsp + 0x26]
movzx ecx, byte [rsp + 0x26]
add eax, ecx
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x14003208d
mov dword [rsp + 0xe4], 1
jmp 0x140032098
mov dword [rsp + 0xe4], 0
mov eax, dword [rsp + 0xe4]
mov ecx, dword [0x140074c74]
or ecx, eax
mov eax, ecx
mov dword [0x140074c74], eax
movzx eax, byte [rsp + 0x27]
mov ecx, dword [0x140074c84]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x28]
mov ecx, dword [0x140074c80]
sub ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
movsx eax, byte [0x140074c5e]
test eax, eax
je 0x140032107
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x140032107
movzx eax, byte [rsp + 0x24]
movzx ecx, byte [0x140074c88]
sar eax, cl
cmp dword [rsp + 0x40], eax
jne 0x140032107
mov dword [rsp + 0xe8], 1
jmp 0x140032112
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0xe8]
mov ecx, dword [0x140074c60]
and ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
movsx eax, byte [0x140074c90]
movzx ecx, byte [rsp + 0x20]
sub eax, ecx
movzx ecx, byte [rsp + 0x24]
cmp eax, ecx
jne 0x14003214d
mov dword [rsp + 0xec], 1
jmp 0x140032158
mov dword [rsp + 0xec], 0
movzx eax, byte [0x140074b8e]
or eax, dword [rsp + 0xec]
mov byte [0x140074b8e], al
movsx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x23]
cmp eax, ecx
jne 0x140032187
mov dword [rsp + 0xf0], 1
jmp 0x140032192
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0xf0]
mov ecx, dword [0x140074a6c]
xor ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400321c6
mov eax, dword [0x140074c54]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400321c6
mov dword [rsp + 0xf4], 0
jmp 0x1400321d1
mov dword [rsp + 0xf4], 1
movzx eax, byte [0x140074c8b]
and eax, dword [rsp + 0xf4]
mov byte [0x140074c8b], al
movzx eax, byte [0x140074c5f]
movzx ecx, byte [rsp + 0x23]
sub ecx, dword [rsp + 0x34]
sar eax, cl
movsx ecx, byte [0x140074c6e]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c6e], al
jmp 0x14003203c
cmp dword [0x140074a68], 0
je 0x14003225f
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
cmp eax, dword [0x140074c3c]
jne 0x140032237
mov dword [rsp + 0xf8], 1
jmp 0x140032242
mov dword [rsp + 0xf8], 0
movsx eax, byte [rsp + 0x21]
xor eax, dword [rsp + 0xf8]
test eax, eax
je 0x14003225f
mov dword [rsp + 0xfc], 1
jmp 0x14003226a
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0xfc]
mov ecx, dword [0x140074c60]
and ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
cmp dword [0x140074c74], 0
je 0x1400322a0
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400322a0
mov dword [rsp + 0x100], 1
jmp 0x1400322ab
mov dword [rsp + 0x100], 0
movsx eax, byte [0x140074c5e]
or eax, dword [rsp + 0x100]
mov byte [0x140074c5e], al
movsx eax, byte [0x140074a62]
imul eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 4
div ecx
mov byte [rsp + 0x24], al
mov dword [rsp + 0x70], 0xffffff8b
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x14c], eax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x14c], 0
je 0x14003232c
movzx eax, byte [0x140074c89]
test eax, eax
jne 0x14003231a
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x14003231a
mov byte [rsp + 0x3e], 0
jmp 0x14003231f
mov byte [rsp + 0x3e], 1
movzx eax, byte [rsp + 0x3e]
mov byte [0x140074b8e], al
jmp 0x1400322e0
movzx eax, byte [rsp + 0x20]
mov ecx, dword [0x140074a68]
imul ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 4
div ecx
mov eax, edx
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x40]
sar eax, cl
mov ecx, dword [0x140074c60]
or ecx, eax
mov eax, ecx
mov dword [0x140074c48], eax
mov eax, 0x133
mov word [rsp + 0x48], ax
mov eax, 0x2db
mov word [rsp + 0x48], ax
jmp 0x140032389
movzx eax, word [rsp + 0x48]
dec ax
mov word [rsp + 0x48], ax
movsx eax, word [rsp + 0x48]
cmp eax, 4
jle 0x1400323e5
movsx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x23]
sub eax, ecx
movzx ecx, byte [rsp + 0x27]
sub ecx, dword [0x140074c70]
shl eax, cl
cmp dword [0x140074c3c], eax
jne 0x1400323c1
mov dword [rsp + 0x104], 1
jmp 0x1400323cc
mov dword [rsp + 0x104], 0
mov eax, dword [rsp + 0x104]
mov ecx, dword [0x140074c68]
add ecx, eax
mov eax, ecx
mov dword [0x140074c68], eax
jmp 0x14003237c
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x27]
movsx edx, byte [rsp + 0x22]
sub ecx, edx
cmp eax, ecx
jne 0x140032407
mov dword [rsp + 0x108], 1
jmp 0x140032412
mov dword [rsp + 0x108], 0
mov eax, dword [rsp + 0x108]
movzx ecx, al
mov eax, dword [0x140074c70]
sar eax, cl
mov ecx, dword [0x140074c70]
and ecx, eax
mov eax, ecx
mov dword [0x140074c70], eax
mov dword [rsp + 0x60], 0x102
mov dword [rsp + 0x60], 0x112
jmp 0x140032450
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x10
jle 0x140032477
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140074c30]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c3c]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c3c], eax
jmp 0x140032446
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x140074c70]
or ecx, eax
mov eax, ecx
mov dword [0x140074c80], eax
movzx eax, byte [rsp + 0x24]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x1400324a7
mov dword [rsp + 0x10c], 1
jmp 0x1400324b2
mov dword [rsp + 0x10c], 0
movzx eax, byte [0x140074c88]
and eax, dword [rsp + 0x10c]
mov ecx, dword [0x140074c8c]
and ecx, eax
mov eax, ecx
mov dword [0x140074c8c], eax
movsx eax, byte [0x140074c5d]
mov ecx, dword [rsp + 0x34]
sar eax, cl
mov dword [0x140074a6c], eax
movsx eax, byte [rsp + 0x22]
test eax, eax
jne 0x1400324f7
cmp dword [rsp + 0x28], 0
je 0x14003259b
movzx eax, byte [0x140074b8f]
sub eax, dword [rsp + 0x2c]
movsx ecx, byte [0x140074c5d]
sub ecx, eax
mov eax, ecx
mov byte [0x140074c5d], al
movsx eax, byte [rsp + 0x21]
movsx ecx, byte [rsp + 0x22]
mov dword [rsp + 0x150], ecx
mov edx, dword [rsp + 0x38]
movzx ecx, dl
mov edx, dword [rsp + 0x150]
sar edx, cl
mov ecx, edx
cmp eax, ecx
jne 0x140032547
mov dword [rsp + 0x110], 1
jmp 0x140032552
mov dword [rsp + 0x110], 0
movsx eax, byte [0x140074c90]
cmp dword [rsp + 0x110], eax
jne 0x14003256f
mov dword [rsp + 0x114], 1
jmp 0x14003257a
mov dword [rsp + 0x114], 0
mov eax, dword [rsp + 0x114]
mov ecx, dword [0x140074c50]
and ecx, eax
mov eax, ecx
mov ecx, dword [0x140074c60]
xor ecx, eax
mov eax, ecx
mov dword [0x140074c60], eax
movsx eax, byte [rsp + 0x21]
mov ecx, dword [0x140074c70]
imul ecx, eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov dword [rsp + 0x30], eax
movsx eax, byte [0x140074c6f]
movzx ecx, byte [rsp + 0x27]
add eax, ecx
mov dword [0x140074c50], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov dword [rsp + 0x64], 0xec
mov dword [rsp + 0x64], 3
jmp 0x1400325f0
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x97a
jae 0x140032631
movsx eax, byte [0x140074c6f]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x140032617
mov dword [rsp + 0x118], 1
jmp 0x140032622
mov dword [rsp + 0x118], 0
mov eax, dword [rsp + 0x118]
mov dword [0x140074c4c], eax
jmp 0x1400325e6
movzx eax, byte [rsp + 0x25]
mov ecx, dword [0x140074c2c]
or ecx, eax
mov eax, ecx
movzx ecx, byte [0x140074b8f]
xor ecx, eax
mov eax, ecx
mov byte [0x140074b8f], al
movzx eax, byte [0x140074c5f]
movzx ecx, byte [rsp + 0x25]
mov dword [rsp + 0x154], ecx
movzx edx, byte [rsp + 0x26]
movzx ecx, dl
mov edx, dword [rsp + 0x154]
shl edx, cl
mov ecx, edx
xor ecx, dword [rsp + 0x28]
xor eax, ecx
movsx ecx, byte [0x140074c5e]
add ecx, eax
mov eax, ecx
mov byte [0x140074c5e], al
movzx eax, byte [0x140074b8e]
add eax, dword [rsp + 0x2c]
movzx ecx, byte [rsp + 0x23]
shl eax, cl
movsx ecx, byte [0x140074c6e]
mov edx, dword [rsp + 0x30]
shr edx, cl
mov ecx, edx
and eax, ecx
mov ecx, dword [0x140074a64]
add ecx, eax
mov eax, ecx
mov dword [0x140074a64], eax
movzx eax, byte [0x140074c8b]
mov ecx, eax
call fcn.14002f0d0
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x1400326ed
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400326ed
mov eax, 1
mov word [rsp + 0x50], ax
jmp 0x1400326f4
xor eax, eax
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x50]
add rsp, 0x168
ret