Function at 0x14001fff0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Parse pe header
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x408
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rsp + 0x3f8], rax
cmp qword [rsp + 0x420], 0
jne 0x140020022
xor al, al
jmp 0x1400211f5
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14003a068], eax
jle 0x140020dc7
lea rcx, [0x14003a068]
call fcn.14002b540
cmp dword [0x14003a068], 0xffffffff
jne 0x140020dc7
lea rax, [rsp + 0x108]
lea rcx, str.BNX_o_..C
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0xa
movsx eax, byte [rsp + rax + 0x108]
test eax, eax
je 0x140020098
mov dword [rsp + 0x7c], 1
jmp 0x1400200a0
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x7c]
test eax, eax
je 0x140020102
mov dword [rsp + 0x44], 0
jmp 0x1400200bd
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xb
jge 0x140020102
movsxd rax, dword [rsp + 0x44]
movsx eax, byte [rsp + rax + 0x108]
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0x44]
cdq
mov ecx, 0x3a
idiv ecx
mov eax, edx
add eax, 0x39
mov ecx, dword [rsp + 0xe0]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x44]
mov byte [rsp + rcx + 0x108], al
jmp 0x1400200b3
lea rax, [rsp + 0x108]
mov qword [rsp + 0x290], rax
lea rax, [rsp + 0x128]
lea rcx, str.WNTOVLQ_o__E
mov rdi, rax
mov rsi, rcx
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0xc
movsx eax, byte [rsp + rax + 0x128]
test eax, eax
je 0x140020150
mov dword [rsp + 0x80], 1
jmp 0x14002015b
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x1400201c0
mov dword [rsp + 0x48], 0
jmp 0x14002017b
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xd
jge 0x1400201c0
movsxd rax, dword [rsp + 0x48]
movsx eax, byte [rsp + rax + 0x128]
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0x48]
cdq
mov ecx, 0x3a
idiv ecx
mov eax, edx
add eax, 0x39
mov ecx, dword [rsp + 0xf8]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x48]
mov byte [rsp + rcx + 0x128], al
jmp 0x140020171
lea rax, [rsp + 0x128]
mov qword [rsp + 0x330], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x358], 0
lea r9, [rsp + 0x358]
mov r8d, dword [rsp + 0x358]
mov rdx, qword [rsp + 0x60]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0xc0000004
jne 0x14002026d
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x358]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x358]
mov r8d, dword [rsp + 0x358]
mov rdx, qword [rsp + 0x60]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x78], eax
jmp 0x140020208
cmp dword [rsp + 0x78], 0
jge 0x140020295
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rsp + 0x68], 0
jmp 0x140020daf
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x34], 0
jmp 0x1400202b6
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
cmp dword [rsp + 0x34], eax
jae 0x140020d93
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax + 0x2e]
mov ecx, dword [rsp + 0x34]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x98]
lea rcx, [rdx + rcx + 8]
lea rax, [rcx + rax + 0x28]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x3b8]
mov qword [rsp + 0x310], rax
movzx edx, byte [rsp + 0x74]
mov rcx, qword [rsp + 0x310]
call fcn.14000c720
nop
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x318], rax
mov qword [rsp + 0xa8], 0xffffffffffffffff
inc qword [rsp + 0xa8]
mov rax, qword [rsp + 0x318]
mov rcx, qword [rsp + 0xa8]
cmp byte [rax + rcx], 0
jne 0x140020346
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0x328], rax
mov r8, qword [rsp + 0x328]
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x3b8]
call fcn.14000c780
nop
lea rax, [rsp + 0x3b8]
mov rcx, rax
call fcn.14000a5b0
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140020d81
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x98]
lea rax, [rcx + rax + 0x30]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x378]
mov qword [rsp + 0x1b0], rax
movzx edx, byte [rsp + 0x70]
mov rcx, qword [rsp + 0x1b0]
call fcn.14000c720
nop
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0xb0], 0xffffffffffffffff
inc qword [rsp + 0xb0]
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0xb0]
cmp byte [rax + rcx], 0
jne 0x140020437
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov r8, qword [rsp + 0x1c8]
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x378]
call fcn.14000c780
nop
lea rax, [rsp + 0x138]
lea rcx, str.maJGASZjVUO_
mov rdi, rax
mov rsi, rcx
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0xc
movsx eax, byte [rsp + rax + 0x138]
test eax, eax
je 0x1400204d1
mov dword [rsp + 0x84], 1
jmp 0x1400204dc
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x140020541
mov dword [rsp + 0x4c], 0
jmp 0x1400204fc
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xd
jge 0x140020541
movsxd rax, dword [rsp + 0x4c]
movsx eax, byte [rsp + rax + 0x138]
mov dword [rsp + 0xf4], eax
mov eax, dword [rsp + 0x4c]
cdq
mov ecx, 0x39
idiv ecx
mov eax, edx
add eax, 0x31
mov ecx, dword [rsp + 0xf4]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x4c]
mov byte [rsp + rcx + 0x138], al
jmp 0x1400204f2
lea rax, [rsp + 0x138]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x398]
mov qword [rsp + 0x1d0], rax
movzx edx, byte [rsp + 0x71]
mov rcx, qword [rsp + 0x1d0]
call fcn.14000c720
nop
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0xb8], 0xffffffffffffffff
inc qword [rsp + 0xb8]
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0xb8]
cmp byte [rax + rcx], 0
jne 0x140020590
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov r8, qword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x398]
call fcn.14000c780
nop
lea rax, [rsp + 0x118]
lea rcx, str.bk__pewvn_
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0xa
movsx eax, byte [rsp + rax + 0x118]
test eax, eax
je 0x14002062a
mov dword [rsp + 0x88], 1
jmp 0x140020635
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x14002069a
mov dword [rsp + 0x50], 0
jmp 0x140020655
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xb
jge 0x14002069a
movsxd rax, dword [rsp + 0x50]
movsx eax, byte [rsp + rax + 0x118]
mov dword [rsp + 0xf0], eax
mov eax, dword [rsp + 0x50]
cdq
mov ecx, 0x39
idiv ecx
mov eax, edx
add eax, 0x31
mov ecx, dword [rsp + 0xf0]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x50]
mov byte [rsp + rcx + 0x118], al
jmp 0x14002064b
lea rax, [rsp + 0x118]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x338]
mov qword [rsp + 0x1f0], rax
movzx edx, byte [rsp + 0x72]
mov rcx, qword [rsp + 0x1f0]
call fcn.14000c720
nop
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0xc0], 0xffffffffffffffff
inc qword [rsp + 0xc0]
mov rax, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0xc0]
cmp byte [rax + rcx], 0
jne 0x1400206f2
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov r8, qword [rsp + 0x208]
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x338]
call fcn.14000c780
nop
lea rax, [rsp + 0x338]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x230], rax
movzx eax, word [0x14002f248]
mov word [rsp + 0x30], ax
mov eax, 1
imul rax, rax, 1
movsx eax, byte [rsp + rax + 0x30]
test eax, eax
je 0x140020799
mov dword [rsp + 0x8c], 1
jmp 0x1400207a4
mov dword [rsp + 0x8c], 0
movzx eax, byte [rsp + 0x8c]
test eax, eax
je 0x140020803
mov dword [rsp + 0x54], 0
jmp 0x1400207c4
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 2
jge 0x140020803
movsxd rax, dword [rsp + 0x54]
movsx eax, byte [rsp + rax + 0x30]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0x54]
cdq
mov ecx, 0x39
idiv ecx
mov eax, edx
add eax, 0x31
mov ecx, dword [rsp + 0xe4]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x54]
mov byte [rsp + rcx + 0x30], al
jmp 0x1400207ba
lea rax, [rsp + 0x30]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x218], rax
mov qword [rsp + 0xc8], 0xffffffffffffffff
inc qword [rsp + 0xc8]
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0xc8]
cmp byte [rax + rcx], 0
jne 0x14002082c
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov r8, qword [rsp + 0x228]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x230]
call fcn.14000b190
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
dec rax
mov qword [rsp + 0x250], rax
xor r8d, r8d
lea rdx, [rsp + 0x398]
lea rcx, [rsp + 0x378]
call fcn.14000a620
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x170]
mov rcx, rax
call fcn.14000a5b0
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x248]
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
lea rcx, [rsp + 0x378]
call fcn.14000aa50
nop
lea rcx, [rsp + 0x338]
call fcn.14000a860
lea rax, [rsp + 0x378]
mov rcx, rax
call fcn.14000a5b0
mov qword [rsp + 0x260], rax
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400209c0
mov qword [rsp + 0x268], 0
lea rcx, [rsp + 0x398]
call fcn.14000a860
nop
lea rcx, [rsp + 0x378]
call fcn.14000a860
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000a860
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x68], rax
jmp 0x140020daf
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020a31
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x270], 0
lea rcx, [rsp + 0x398]
call fcn.14000a860
nop
lea rcx, [rsp + 0x378]
call fcn.14000a860
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000a860
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x68], rax
jmp 0x140020daf
mov rax, qword [rsp + 0x178]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
cmp dword [rax], 0x4550
je 0x140020ab2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x278], 0
lea rcx, [rsp + 0x398]
call fcn.14000a860
nop
lea rcx, [rsp + 0x378]
call fcn.14000a860
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000a860
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x68], rax
jmp 0x140020daf
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x100]
cmp dword [rcx + rax + 0x88], 0
jne 0x140020b1f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x280], 0
lea rcx, [rsp + 0x398]
call fcn.14000a860
nop
lea rcx, [rsp + 0x378]
call fcn.14000a860
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000a860
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x68], rax
jmp 0x140020daf
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x58], 0
jmp 0x140020bb8
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x58], eax
jae 0x140020d59
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x288]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x290]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140020c06
inc rcx
test dl, dl
jne 0x140020bf3
xor eax, eax
jmp 0x140020c0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140020d54
xor eax, eax
test eax, eax
jne 0x140020cca
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x128
movsxd rcx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x180]
movzx ecx, word [rdx + rcx*2]
mov rdx, qword [rsp + 0x188]
mov ecx, dword [rdx + rcx*4]
mov rdx, qword [rsp + 0x98]
add rcx, qword [rdx + rax + 0x18]
mov rax, rcx
mov qword [rsp + 0x298], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x2a0], rax
lea rcx, [rsp + 0x398]
call fcn.14000a860
nop
lea rcx, [rsp + 0x378]
call fcn.14000a860
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000a860
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x68], rax
jmp 0x140020daf
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x180]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x188]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x2a8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rax
lea rcx, [rsp + 0x398]
call fcn.14000a860
nop
lea rcx, [rsp + 0x378]
call fcn.14000a860
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000a860
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x68], rax
jmp 0x140020daf
jmp 0x140020bae
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x398]
call fcn.14000a860
nop
lea rcx, [rsp + 0x378]
call fcn.14000a860
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000a860
jmp 0x1400202ac
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [0x140039f18], rax
lea rcx, [0x14003a068]
call fcn.14002b4d4
cmp qword [0x140039f18], 0
jne 0x140020dd8
xor al, al
jmp 0x1400211f5
mov rax, qword [0x140039f18]
mov qword [rsp + 0x2c8], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140039e90], eax
jle 0x140020fd0
lea rcx, [0x140039e90]
call fcn.14002b540
cmp dword [0x140039e90], 0xffffffff
jne 0x140020fd0
lea rax, [rsp + 0x190]
lea rcx, str.wNhTHJ__6_
mov rdi, rax
mov rsi, rcx
mov ecx, 0x11
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x10
movsx eax, byte [rsp + rax + 0x190]
test eax, eax
je 0x140020e60
mov dword [rsp + 0x90], 1
jmp 0x140020e6b
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x140020ed0
mov dword [rsp + 0x5c], 0
jmp 0x140020e8b
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x11
jge 0x140020ed0
movsxd rax, dword [rsp + 0x5c]
movsx eax, byte [rsp + rax + 0x190]
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x5c]
cdq
mov ecx, 0x3a
idiv ecx
mov eax, edx
add eax, 0x39
mov ecx, dword [rsp + 0xe8]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x5c]
mov byte [rsp + rcx + 0x190], al
jmp 0x140020e81
lea rax, [rsp + 0x190]
mov qword [rsp + 0x2b8], rax
lea rax, [rsp + 0xd0]
lea rcx, str.WN_PQ
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 9
movsx eax, byte [rsp + rax + 0xd0]
test eax, eax
je 0x140020f1e
mov dword [rsp + 0x94], 1
jmp 0x140020f29
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
test eax, eax
je 0x140020f8e
mov dword [rsp + 0x40], 0
jmp 0x140020f49
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xa
jge 0x140020f8e
movsxd rax, dword [rsp + 0x40]
movsx eax, byte [rsp + rax + 0xd0]
mov dword [rsp + 0xec], eax
mov eax, dword [rsp + 0x40]
cdq
mov ecx, 0x3a
idiv ecx
mov eax, edx
add eax, 0x39
mov ecx, dword [rsp + 0xec]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov byte [rsp + rcx + 0xd0], al
jmp 0x140020f3f
lea rax, [rsp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x2c0], rax
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003a170], rax
lea rcx, [0x140039e90]
call fcn.14002b4d4
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140039e7c], eax
jle 0x140021029
lea rcx, [0x140039e7c]
call fcn.14002b540
cmp dword [0x140039e7c], 0xffffffff
jne 0x140021029
xor edx, edx
lea rcx, [0x14003a090]
call fcn.1400144d0
lea rcx, [0x14002d620]
call fcn.14002b480
lea rcx, [0x140039e7c]
call fcn.14002b4d4
lea rcx, [0x14003a090]
call fcn.140014560
mov byte [rsp + 0x3d8], 0xff
mov byte [rsp + 0x3d9], 0x25
mov byte [rsp + 0x3da], 0
mov byte [rsp + 0x3db], 0
mov byte [rsp + 0x3dc], 0
mov byte [rsp + 0x3dd], 0
mov byte [rsp + 0x3de], 0
mov byte [rsp + 0x3df], 0
mov byte [rsp + 0x3e0], 0
mov byte [rsp + 0x3e1], 0
mov byte [rsp + 0x3e2], 0
mov byte [rsp + 0x3e3], 0
mov byte [rsp + 0x3e4], 0
mov byte [rsp + 0x3e5], 0
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x3de], rax
lea rax, [0x140039d68]
mov rcx, rax
call fcn.140016a40
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax]
mov qword [rsp + 0x368], rax
mov rax, qword [rsp + 0x368]
mov qword [rsp + 0x2d8], rax
mov r8d, 0xe
lea rdx, [rsp + 0x3e8]
mov rcx, qword [rsp + 0x2d8]
call fcn.14001e700
lea rax, [0x140039d68]
mov rcx, rax
call fcn.140016a40
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov rax, qword [rax]
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x2e8], rax
mov r8d, 0xe
lea rdx, [rsp + 0x3d8]
mov rcx, qword [rsp + 0x2e8]
call fcn.14001e9b0
mov rax, qword [0x14003a170]
mov qword [rsp + 0x2f0], rax
mov rcx, qword [rsp + 0x420]
call qword [rsp + 0x2f0]
mov byte [rsp + 0x73], al
lea rax, [0x140039d68]
mov rcx, rax
call fcn.140016a40
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov rax, qword [rax]
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0x300], rax
mov r8d, 0xe
lea rdx, [rsp + 0x3e8]
mov rcx, qword [rsp + 0x300]
call fcn.14001e9b0
lea rax, [0x14003a090]
mov qword [rsp + 0x308], rax
mov rcx, qword [rsp + 0x308]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov al, 1
mov rcx, qword [rsp + 0x3f8]
xor rcx, rsp
call fcn.14002b1c0
add rsp, 0x408
pop rdi
pop rsi
ret