Function at 0x18003bd80
Capabilities:
Encrypt data using speck
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x268
mov eax, 0x767d
mov word [rsp + 0x18c], ax
movzx eax, word [0x1800a6694]
mov word [rsp + 0x38], ax
movabs rax, 0xf8284aa939bd4
mov qword [rsp + 0xb8], rax
mov eax, 0x3c81
mov word [rsp + 0x34], ax
mov eax, 0x6573
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x4c], 0x16
movsxd rax, dword [0x1800a6624]
mov qword [rsp + 0x150], rax
mov rax, qword [0x1800a66d0]
mov byte [rsp + 0x21], al
mov rax, qword [0x1800a66a0]
mov dword [rsp + 0xa8], eax
mov byte [rsp + 0x22], 0x37
mov eax, dword [0x1800a663c]
mov byte [rsp + 0x20], al
movsx ax, byte [0x1800a658f]
mov word [rsp + 0x2c], ax
mov dword [rsp + 0x48], 0xa58b
mov eax, dword [0x1800a65bc]
mov word [rsp + 0x44], ax
movzx eax, byte [0x1800a65e6]
movzx eax, al
mov qword [rsp + 0x80], rax
movzx eax, word [0x1800a66c0]
mov byte [rsp + 0x23], al
mov qword [rsp + 0x190], 0xf5
mov dword [rsp + 0xa4], 0x10
mov dword [rsp + 0x28], 0xfa648200
mov eax, 0x19
mov word [rsp + 0x30], ax
mov eax, dword [0x1800a65bc]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1800a65e6]
mov byte [rsp + 0x24], al
movzx eax, word [0x1800a660c]
mov qword [rsp + 0x158], rax
movzx eax, byte [0x1800a65e7]
movsx rax, al
mov qword [rsp + 0x148], rax
mov dword [rsp + 0x98], 0x674daab2
movzx eax, byte [0x1800a65fe]
movsx ax, al
mov word [rsp + 0x180], ax
movzx eax, byte [0x1800a65a7]
mov dword [rsp + 0x1d8], eax
mov eax, 0x7acf
mov word [rsp + 0x19c], ax
mov eax, 0xd0553744
mov qword [rsp + 0x230], rax
mov eax, dword [0x1800a66cc]
cdqe
mov qword [rsp + 0x238], rax
movzx eax, byte [0x1800a6698]
mov byte [rsp + 0x60], al
mov dword [rsp + 0x1dc], 0xda4374a2
movzx eax, byte [0x1800a65e7]
movsx eax, al
mov dword [rsp + 0x1e0], eax
movzx eax, byte [0x1800a65a7]
mov byte [rsp + 0x61], al
mov eax, 0xe15
mov word [rsp + 0x198], ax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add eax, 0x53b
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x70]
add eax, 0x3d5
mov dword [rsp + 0xec], eax
mov eax, dword [rsp + 0x70]
add eax, 0x476
mov dword [rsp + 0xf0], eax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x74], eax
mov dword [0x1800a6688], 0xea8a
mov eax, dword [rsp + 0x74]
add eax, 0x510
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x74]
add eax, 0x6e1
mov dword [rsp + 0x1e4], eax
movsx eax, byte [0x1800a65fb]
mov ecx, dword [0x1800a66b0]
add ecx, eax
mov eax, ecx
mov dword [0x1800a66b0], eax
mov eax, dword [rsp + 0x74]
add eax, 0x601
mov dword [rsp + 0x200], eax
movzx eax, word [0x1800a6694]
movzx eax, ax
mov rcx, qword [0x1800a66b8]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x34]
not ecx
movsxd rcx, ecx
mov rdx, qword [0x1800a6668]
add rdx, rcx
mov rcx, rdx
imul rax, rcx
test rax, rax
jne 0x18003c012
mov dword [rsp + 0xc0], 1
jmp 0x18003c01d
mov dword [rsp + 0xc0], 0
movzx eax, word [0x1800a66c0]
movzx eax, ax
movsx ecx, byte [rsp + 0x21]
imul eax, ecx
movzx ecx, byte [0x1800a65e6]
movzx ecx, cl
or eax, ecx
imul eax, dword [rsp + 0xc0]
mov dword [rsp + 0x48], eax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x78], eax
movsx rax, byte [0x1800a65fb]
imul rax, qword [rsp + 0x80]
movsx rcx, byte [0x1800a65fb]
add rcx, rax
mov rax, rcx
mov byte [0x1800a65fb], al
mov rax, qword [0x1800a66e0]
xor rax, qword [0x1800a6670]
mov rcx, qword [0x1800a66e0]
and rcx, rax
mov rax, rcx
mov qword [0x1800a66e0], rax
mov eax, dword [rsp + 0x78]
add eax, 0x5c6
mov dword [rsp + 0xd0], eax
movzx eax, word [rsp + 0x40]
cwde
cmp dword [rsp + 0x28], eax
jg 0x18003c0c1
mov dword [rsp + 0xc8], 1
jmp 0x18003c0cc
mov dword [rsp + 0xc8], 0
cmp dword [rsp + 0x28], 0x13
jg 0x18003c0e0
mov dword [rsp + 0xc4], 1
jmp 0x18003c0eb
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
cmp dword [rsp + 0xc8], eax
je 0x18003c155
mov eax, dword [0x1800a66cc]
test eax, eax
je 0x18003c119
mov rax, qword [rsp + 0xb8]
shl rax, 3
mov byte [0x1800a658e], al
jmp 0x18003c153
movabs rax, 0x54a2aa6d1cdc
xor ecx, ecx
cmp rcx, rax
je 0x18003c153
mov eax, 2
imul rax, rax, 0x51
lea rcx, [0x18095a640]
movsx rax, word [rcx + rax]
mov rcx, qword [0x1800a6668]
add rcx, rax
mov rax, rcx
mov qword [0x1800a6668], rax
jmp 0x18003c1ad
mov rax, qword [0x1800a66b8]
test rax, rax
jne 0x18003c16e
mov dword [rsp + 0xcc], 1
jmp 0x18003c179
mov dword [rsp + 0xcc], 0
movsx eax, word [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
movzx ecx, cx
imul eax, ecx
movsx ecx, word [0x1800a6690]
imul eax, ecx
imul ecx, dword [rsp + 0xcc], 0x36
mov edx, dword [rsp + 0x4c]
imul edx, ecx
mov ecx, edx
imul eax, ecx
mov byte [0x1800a658e], al
mov eax, dword [rsp + 0x78]
add eax, 0x73a
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x78]
add eax, 0x602
mov dword [rsp + 0x1e8], eax
movzx eax, word [0x1800a65fc]
movzx eax, ax
add eax, 0x42
cdqe
mov qword [rsp + 0x148], rax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
add eax, 0x688
mov dword [rsp + 0x17c], eax
lea rax, [rsp + 0x220]
lea rcx, str.ibm01141
mov rdi, rax
mov rsi, rcx
mov ecx, 9
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [0x1800a65a7], al
mov eax, dword [rsp + 0x64]
add eax, 0x5b5
mov dword [rsp + 0x1ec], eax
mov eax, dword [rsp + 0x64]
add eax, 0x45a
mov dword [rsp + 0x178], eax
mov dword [rsp + 0xac], 0
mov eax, dword [rsp + 0xac]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x280]
shl rax, 3
mov qword [rsp + 0x208], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x208]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x50]
or eax, ecx
mov ecx, dword [rsp + 0x50]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xd0]
mov edx, dword [rsp + 0xd0]
sub ecx, edx
mov edx, dword [rsp + 0x50]
imul edx, edx, 0x35
sub ecx, edx
cmp eax, ecx
je 0x18003cfd7
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x1a0], 0
je 0x18003c312
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.USER32.dll_GetMenu]
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x210]
call qword [sym.imp.USER32.dll_DestroyMenu]
mov dword [rsp + 0x1f0], eax
movzx eax, byte [rsp + 0x24]
movsx eax, al
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x88], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x44]
cwde
test eax, eax
je 0x18003c3f0
movzx eax, byte [0x1800a65e6]
movzx eax, al
test eax, eax
je 0x18003c362
cmp dword [rsp + 0x28], 0
je 0x18003c362
mov dword [rsp + 0xd4], 0
jmp 0x18003c36d
mov dword [rsp + 0xd4], 1
movzx eax, word [0x1800a668c]
cmp eax, dword [rsp + 0xd4]
jle 0x18003c3ad
movzx eax, word [0x1800a66c0]
movzx eax, ax
sub eax, 0x26bfa944
mov byte [rsp + 0x22], al
movzx eax, word [rsp + 0x2c]
mov ecx, 1
imul rcx, rcx, 0x2e91
lea rdx, [0x18095a840]
mov byte [rdx + rcx], al
jmp 0x18003c3f0
movsx eax, word [0x1800a6690]
test eax, eax
je 0x18003c3f0
movzx eax, byte [rsp + 0x22]
movzx eax, al
add eax, 0xf546019d
movzx ecx, word [0x1800a669c]
sub ecx, eax
mov eax, ecx
mov word [0x1800a669c], ax
mov eax, 0xa7a93cad
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov dword [0x1800a66b0], eax
mov eax, dword [rsp + 0x88]
add eax, 0x8dcb
mov dword [rsp + 0x1f4], eax
mov eax, dword [rsp + 0x88]
add eax, 0xc7bd
mov dword [rsp + 0x184], eax
mov rax, qword [0x1800a6678]
mov ecx, dword [0x1800a65bc]
movsxd rcx, ecx
cmp rax, rcx
je 0x18003c438
mov dword [rsp + 0xdc], 1
jmp 0x18003c443
mov dword [rsp + 0xdc], 0
mov rax, qword [0x1800a6678]
cmp rax, 0x51
je 0x18003c45d
mov dword [rsp + 0xd8], 1
jmp 0x18003c468
mov dword [rsp + 0xd8], 0
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0xdc], eax
jne 0x18003c5bc
mov qword [0x1800a66a0], 1
movzx eax, word [rsp + 0x40]
cwde
test eax, eax
jne 0x18003c49f
mov qword [rsp + 0x1a8], 1
jmp 0x18003c4ab
mov qword [rsp + 0x1a8], 0
movzx eax, byte [0x1800a65e7]
movsx eax, al
mov ecx, dword [0x1800a66cc]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x18003c4d1
mov qword [rsp + 0x1b0], 1
jmp 0x18003c4dd
mov qword [rsp + 0x1b0], 0
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x1a8]
add rcx, rax
mov rax, rcx
or rax, qword [rsp + 0x1b0]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1800a65a7]
movsx ecx, byte [rsp + 0x23]
sub eax, ecx
movzx ecx, byte [0x1800a65a7]
sub ecx, eax
mov eax, ecx
mov byte [0x1800a65a7], al
mov rax, qword [0x1800a66a0]
mov qword [rsp + 0x1b8], rax
cmp qword [rsp + 0x1b8], 0
je 0x18003c545
cmp qword [rsp + 0x1b8], 1
je 0x18003c562
jmp 0x18003c5b7
movsx eax, byte [rsp + 0x23]
xor eax, 0x9cbf8e9e
mov dword [rsp + 0xa8], eax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x48], eax
jmp 0x18003c5b7
movsx eax, byte [0x1800a658f]
movzx ecx, byte [0x1800a65e7]
movsx ecx, cl
sub eax, ecx
test eax, eax
jne 0x18003c586
mov dword [rsp + 0xe0], 1
jmp 0x18003c591
mov dword [rsp + 0xe0], 0
movzx eax, word [0x1800a669c]
mov ecx, dword [rsp + 0xe0]
and ecx, eax
mov eax, ecx
not eax
mov byte [rsp + 0x20], al
movzx eax, word [0x1800a66c4]
mov word [0x1800a6694], ax
jmp 0x18003c670
xor eax, eax
cmp eax, 0xffff6d43
je 0x18003c670
movzx eax, byte [0x1800a65a3]
movsx eax, al
test eax, eax
jne 0x18003c5e4
mov dword [rsp + 0xe4], 1
jmp 0x18003c5ef
mov dword [rsp + 0xe4], 0
movzx eax, word [0x1800a668c]
test eax, eax
jne 0x18003c607
mov dword [rsp + 0xe8], 1
jmp 0x18003c612
mov dword [rsp + 0xe8], 0
movzx eax, byte [0x1800a65a7]
mov rcx, qword [rsp + 0x158]
and rcx, rax
mov rax, rcx
mov ecx, dword [0x1800a65bc]
mov edx, dword [rsp + 0xe4]
sub edx, ecx
mov ecx, edx
movsxd rcx, ecx
sub rax, rcx
mov rcx, qword [0x1800a6668]
imul rcx, qword [rsp + 0xb8]
not rcx
movzx edx, byte [0x1800a65fe]
movsx edx, dl
imul edx, dword [rsp + 0xe8]
movsxd rdx, edx
sub rcx, rdx
xor rax, rcx
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x88]
add eax, 0xc3f7
mov dword [rsp + 0x1f8], eax
movzx eax, word [0x1800a668c]
imul eax, eax, 0xbea13f5b
mov word [0x1800a66c0], ax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x184]
add eax, 0x29
xor eax, 0xc144
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0xf0]
sub ecx, edx
mov edx, dword [rsp + 0xec]
mov edi, dword [rsp + 0xec]
xor edx, edi
imul ecx, edx
mov edx, dword [rsp + 0x54]
mov edi, dword [rsp + 0xf0]
xor edx, edi
mov edi, dword [rsp + 0x54]
mov esi, dword [rsp + 0x54]
add edi, esi
xor edx, edi
imul ecx, edx
add eax, ecx
mov dword [rsp + 0x164], eax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
add eax, 0x44f
mov dword [rsp + 0x100], eax
mov eax, 1
imul rax, rax, 0x68
lea rcx, [0x18099f1d0]
movzx eax, byte [rcx + rax]
mov word [0x1800a6694], ax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0xb8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x8c]
add eax, 0x8d1d
mov dword [rsp + 0x104], eax
mov dword [rsp + 0x98], 1
mov eax, 1
imul rax, rax, 0xb0
lea rcx, [0x18095a840]
movzx eax, byte [rcx + rax]
movzx ecx, word [0x1800a669c]
add ecx, eax
mov eax, ecx
mov word [0x1800a669c], ax
mov rax, qword [0x1800a6670]
sub rax, 0xd0a0
mov byte [0x1800a65e6], al
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0
je 0x18003c7d3
cmp dword [rsp + 0xf4], 1
je 0x18003c84e
jmp 0x18003c883
movsx rax, byte [rsp + 0x21]
mov rcx, qword [0x1800a66a8]
sub rcx, rax
mov rax, rcx
test rax, rax
jne 0x18003c7f8
mov dword [rsp + 0xf8], 1
jmp 0x18003c803
mov dword [rsp + 0xf8], 0
movzx eax, word [0x1800a66c0]
movzx eax, ax
mov ecx, dword [rsp + 0x48]
add eax, ecx
not eax
add eax, dword [rsp + 0xf8]
cdqe
movzx ecx, byte [0x1800a6566]
movsx ecx, cl
not ecx
movzx edx, word [0x1800a669c]
add ecx, edx
movsxd rcx, ecx
imul rcx, qword [rsp + 0x148]
sub rax, rcx
not rax
mov qword [0x1800a6670], rax
jmp 0x18003c883
mov eax, 2
imul rax, rax, 0x1d
lea rcx, [0x1809c0240]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x21], al
movzx eax, byte [0x1800a658e]
sub eax, 0xec5165f7
movzx ecx, word [rsp + 0x3c]
movzx ecx, cx
sub ecx, eax
mov eax, ecx
mov word [rsp + 0x3c], ax
mov eax, dword [rsp + 0x8c]
add eax, 0x37b
mov dword [rsp + 0x1fc], eax
movzx eax, word [0x1800a66b4]
cwde
test eax, eax
je 0x18003c8c2
movzx eax, byte [0x1800a65a6]
movzx eax, al
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov eax, eax
mov qword [0x1800a66a8], rax
jmp 0x18003c947
movzx eax, byte [0x1800a65a6]
mov byte [0x1800a65a3], al
movzx eax, byte [rsp + 0x24]
movsx eax, al
add eax, dword [0x1800a6698]
test eax, eax
jne 0x18003c8ee
mov dword [rsp + 0xfc], 1
jmp 0x18003c8f9
mov dword [rsp + 0xfc], 0
movzx eax, word [rsp + 0x2c]
cwde
movsx ecx, byte [rsp + 0x21]
sub eax, ecx
mov ecx, dword [rsp + 0xfc]
xor ecx, eax
mov eax, ecx
cdqe
movzx ecx, byte [0x1800a65e6]
movzx ecx, cl
mov rdx, qword [0x1800a66d8]
sub rdx, rcx
mov rcx, rdx
movsx rdx, word [rsp + 0x38]
sub rdx, qword [rsp + 0x80]
imul rcx, rdx
sub rax, rcx
mov qword [rsp + 0x150], rax
mov byte [0x1800a65e7], 2
mov eax, 1
mov word [0x1800a66b4], ax
mov eax, dword [rsp + 0x4c]
mov ecx, 4
imul rcx, rcx, 0x10
lea rdx, [0x1809bff30]
mov dword [rdx + rcx], eax
movzx eax, byte [0x1800a65e7]
mov byte [rsp + 0x90], al
cmp byte [rsp + 0x90], 0
je 0x18003c99f
cmp byte [rsp + 0x90], 1
je 0x18003c9ab
cmp byte [rsp + 0x90], 2
je 0x18003c9bd
jmp 0x18003c9d5
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x18003c9d5
movsx eax, byte [rsp + 0x23]
sub eax, 0x95
mov byte [0x1800a65fb], al
jmp 0x18003c9d5
movsx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x48]
sub eax, ecx
movsx ecx, byte [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x104]
mov ecx, dword [rsp + 0x100]
imul eax, ecx
mov ecx, dword [rsp + 0x100]
mov edx, dword [rsp + 0x104]
or ecx, edx
xor eax, ecx
xor eax, 0x25f7747
mov dword [rsp + 0x168], eax
lea rax, [rsp + 0x240]
lea rcx, str.A_request_to_Inter
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cdqe
mov qword [0x1800a6670], rax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x94], eax
movzx eax, byte [0x1800a65e7]
movsx eax, al
test eax, eax
jne 0x18003ca5f
mov dword [rsp + 0x108], 1
jmp 0x18003ca6a
mov dword [rsp + 0x108], 0
movsx eax, byte [rsp + 0x20]
not eax
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x108]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1800a65a6]
movzx ecx, cl
mov edx, dword [rsp + 0xa8]
imul edx, ecx
mov ecx, edx
xor ecx, dword [0x1800a66ec]
sub eax, ecx
mov eax, eax
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x94]
add eax, 0x7169
mov dword [rsp + 0x11c], eax
mov dword [rsp + 0x28], 0x54c59b26
mov eax, dword [0x1800a6624]
sub eax, 0x9a72f513
mov eax, eax
mov rcx, qword [rsp + 0x158]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x94]
add eax, 0x457
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x94]
add eax, 0x4668
mov dword [rsp + 0x160], eax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
movzx eax, ax
test eax, eax
jne 0x18003cb34
mov dword [rsp + 0x110], 1
jmp 0x18003cb3f
mov dword [rsp + 0x110], 0
movzx eax, word [rsp + 0x30]
movzx eax, ax
cmp eax, 0x1a
jne 0x18003cb59
mov dword [rsp + 0x10c], 1
jmp 0x18003cb64
mov dword [rsp + 0x10c], 0
mov eax, dword [rsp + 0x10c]
movabs rax, 0x5c14098668998
mov qword [0x1800a66d8], rax
mov rax, qword [0x1800a66d8]
mov ecx, dword [rsp + 0x4c]
mov ecx, ecx
movabs rdx, 0x5c14098668998
add rcx, rdx
cmp rax, rcx
jne 0x18003cbde
mov rax, qword [0x1800a66b8]
mov ecx, dword [rsp + 0x4c]
add ecx, 0xbf
mov ecx, ecx
cmp rax, rcx
jne 0x18003cbde
jmp 0x18003cbde
movabs rax, 0x5c14098668998
mov qword [0x1800a66d8], rax
mov dword [rsp + 0x48], 0xfe
movsx eax, byte [0x1800a65fb]
test eax, eax
je 0x18003cc11
mov dword [0x1800a66c8], 0x2949
jmp 0x18003ccd2
mov eax, dword [0x1800a66c4]
mov rcx, qword [0x1800a6680]
cmp rax, rcx
ja 0x18003cc30
mov dword [rsp + 0x118], 1
jmp 0x18003cc3b
mov dword [rsp + 0x118], 0
movzx eax, word [rsp + 0x44]
cwde
not eax
cdqe
cmp qword [rsp + 0x190], rax
je 0x18003cc5c
mov dword [rsp + 0x114], 1
jmp 0x18003cc67
mov dword [rsp + 0x114], 0
mov eax, dword [rsp + 0x114]
not eax
mov ecx, dword [rsp + 0x118]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x18003cc8e
movzx eax, word [0x18091bdb0]
mov word [rsp + 0x38], ax
jmp 0x18003ccd2
mov eax, dword [0x1800a65bc]
test eax, eax
je 0x18003ccb6
mov qword [rsp + 0x150], 2
movsx eax, word [rsp + 0x38]
imul eax, eax, 0xae
mov word [rsp + 0x2c], ax
jmp 0x18003ccd2
movsx eax, byte [rsp + 0x23]
test eax, eax
je 0x18003ccd2
mov rax, qword [rsp + 0xb8]
shr rax, 3
mov qword [0x1800a66e0], rax
mov eax, dword [rsp + 0x188]
mov ecx, dword [rsp + 0x160]
imul eax, ecx
mov ecx, dword [rsp + 0x11c]
mov edx, dword [rsp + 0x11c]
or ecx, edx
add eax, ecx
xor eax, 0x131fd6f
mov ecx, dword [rsp + 0x58]
mov edx, dword [rsp + 0x58]
sub ecx, edx
mov edx, dword [rsp + 0x58]
mov edi, dword [rsp + 0x58]
xor edx, edi
add ecx, edx
sub eax, ecx
mov dword [rsp + 0x16c], eax
cmp qword [rsp + 0x68], 0
jne 0x18003cfd7
mov rax, qword [0x1800a6680]
cmp qword [rsp + 0x80], rax
jbe 0x18003cd43
mov dword [rsp + 0x124], 1
jmp 0x18003cd4e
mov dword [rsp + 0x124], 0
cmp qword [rsp + 0x80], 0x1a
jbe 0x18003cd66
mov dword [rsp + 0x120], 1
jmp 0x18003cd71
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x124], eax
jne 0x18003cdab
movzx eax, byte [rsp + 0x22]
movzx eax, al
mov rcx, qword [0x1800a66d8]
cmp rax, rcx
jge 0x18003cda6
movzx eax, byte [rsp + 0x24]
movsx rax, al
mov qword [rsp + 0x80], rax
jmp 0x18003ce5d
mov eax, dword [rsp + 0x98]
test eax, eax
jne 0x18003cdc3
mov dword [rsp + 0x128], 1
jmp 0x18003cdce
mov dword [rsp + 0x128], 0
movsx eax, byte [rsp + 0x23]
cmp dword [rsp + 0x128], eax
jg 0x18003cde9
mov dword [rsp + 0x130], 1
jmp 0x18003cdf4
mov dword [rsp + 0x130], 0
movzx eax, word [rsp + 0x34]
test eax, eax
jne 0x18003ce16
mov rax, qword [0x1800a66e0]
test rax, rax
jne 0x18003ce16
mov dword [rsp + 0x12c], 1
jmp 0x18003ce21
mov dword [rsp + 0x12c], 0
mov eax, dword [rsp + 0x12c]
cmp dword [rsp + 0x130], eax
jne 0x18003ce5d
mov rax, qword [0x1800a6670]
add rax, 0x3ffbef5c
mov word [rsp + 0x3c], ax
movzx eax, word [0x1800a65fc]
movzx eax, ax
imul eax, eax, 0x725cc0e6
cdqe
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x48]
mov ecx, 1
imul rcx, rcx, 0x97
lea rdx, [0x1809b3450]
mov byte [rdx + rcx], al
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x9c], eax
mov rax, qword [0x1800a6680]
add rax, 0x5b
mov dword [0x1800a66cc], eax
mov eax, dword [rsp + 0xa4]
sub rax, qword [rsp + 0x158]
xor rax, 0x40
movzx ecx, byte [0x1800a65fe]
movsx ecx, cl
movzx edx, word [rsp + 0x30]
movzx edx, dx
add edx, dword [0x1800a6688]
sub ecx, edx
mov ecx, ecx
imul rax, rcx
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x164]
mov ecx, dword [rsp + 0x9c]
add eax, ecx
mov dword [rsp + 0x174], eax
movzx eax, byte [rsp + 0x24]
movsx rax, al
mov rcx, qword [0x1800a66d8]
cmp rax, rcx
je 0x18003cefa
jmp 0x18003cf54
movzx eax, byte [rsp + 0x22]
movzx eax, al
test eax, eax
je 0x18003cf54
mov eax, dword [rsp + 0x28]
imul eax, dword [0x1800a6688]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [0x1800a65bc]
test eax, eax
je 0x18003cf37
mov eax, dword [0x1800a66c4]
mov qword [rsp + 0x1c0], rax
jmp 0x18003cf46
mov rax, qword [0x1800a66a8]
mov qword [rsp + 0x1c0], rax
movzx eax, byte [rsp + 0x1c0]
mov byte [0x1800a658e], al
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x9c]
add eax, ecx
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x16c]
mov ecx, dword [rsp + 0x9c]
add eax, ecx
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x170]
mov ecx, dword [rsp + 0xa0]
or eax, ecx
mov ecx, dword [rsp + 0xa0]
mov edx, dword [rsp + 0x174]
add ecx, edx
mov edx, dword [rsp + 0xa0]
sub ecx, edx
cmp eax, ecx
je 0x18003cfd7
movzx eax, word [rsp + 0x34]
dec ax
mov word [rsp + 0x34], ax
movzx eax, word [rsp + 0x40]
cwde
add eax, 0x2c
mov byte [0x1800a65fe], al
mov eax, dword [rsp + 0xac]
jmp 0x18003d312
mov rax, qword [rsp + 0x280]
shl rax, 3
mov qword [rsp + 0x218], rax
mov rdi, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x218]
rep stosb byte [rdi], al
movzx eax, word [0x1800a660c]
test eax, eax
je 0x18003d009
jmp 0x18003d03f
mov eax, dword [rsp + 0xa4]
mov ecx, dword [0x1800a66c4]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x1800a66c4]
add ecx, eax
mov eax, ecx
mov dword [0x1800a66c4], eax
mov rax, qword [0x1800a66e0]
imul rax, rax, 0x2ea79ab6
mov dword [rsp + 0xa4], eax
mov qword [rsp + 0xb0], 0
jmp 0x18003d060
mov rax, qword [rsp + 0xb0]
inc rax
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x280]
cmp qword [rsp + 0xb0], rax
jae 0x18003d30d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x2110
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xb0]
mov qword [rcx + rdx*8], rax
mov eax, dword [rsp + 0x178]
or eax, 0x227
mov ecx, dword [rsp + 0x17c]
cmp eax, ecx
je 0x18003d2ee
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xb0]
cmp qword [rax + rcx*8], 0
jne 0x18003d2ee
movzx eax, byte [0x1800a65a6]
movzx eax, al
cmp dword [rsp + 0x28], eax
jne 0x18003d0f1
mov dword [rsp + 0x138], 1
jmp 0x18003d0fc
mov dword [rsp + 0x138], 0
cmp dword [rsp + 0x28], 0x42
jne 0x18003d110
mov dword [rsp + 0x134], 1
jmp 0x18003d11b
mov dword [rsp + 0x134], 0
mov eax, dword [rsp + 0x134]
cmp dword [rsp + 0x138], eax
je 0x18003d1c8
mov eax, 3
mov word [rsp + 0x2c], ax
movzx eax, word [rsp + 0x34]
add eax, 0xd3
cdqe
mov qword [rsp + 0x150], rax
movzx eax, word [rsp + 0x2c]
cwde
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x18003d175
cmp dword [rsp + 0x5c], 1
je 0x18003d189
cmp dword [rsp + 0x5c], 2
je 0x18003d1a2
cmp dword [rsp + 0x5c], 3
je 0x18003d1a9
jmp 0x18003d1c3
mov eax, dword [rsp + 0x4c]
add eax, 0x8e
mov eax, eax
mov qword [0x1800a6670], rax
jmp 0x18003d1c3
mov eax, dword [0x1800a66c4]
movabs rcx, 0x22793a0f94df6
xor rax, rcx
mov dword [rsp + 0x28], eax
jmp 0x18003d1c3
mov byte [rsp + 0x22], 1
jmp 0x18003d1c3
movsx rax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x150]
sub rcx, rax
mov rax, rcx
mov dword [0x1800a66e8], eax
jmp 0x18003d2e5
mov eax, dword [0x1800a65bc]
cdqe
cmp qword [rsp + 0x190], rax
je 0x18003d214
cmp qword [rsp + 0x80], 0
jne 0x18003d1f3
mov qword [rsp + 0x1c8], 1
jmp 0x18003d1ff
mov qword [rsp + 0x1c8], 0
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x190], rax
jmp 0x18003d2e5
movsx eax, byte [rsp + 0x21]
movzx ecx, byte [0x1800a6566]
movsx ecx, cl
cmp eax, ecx
jg 0x18003d234
mov dword [rsp + 0x13c], 1
jmp 0x18003d23f
mov dword [rsp + 0x13c], 0
mov eax, dword [rsp + 0x13c]
not eax
test eax, eax
je 0x18003d2e5
cmp dword [0x1800a66e8], 0
je 0x18003d26a
movzx eax, word [0x1800a668c]
mov qword [rsp + 0x1d0], rax
jmp 0x18003d279
mov rax, qword [0x1800a6670]
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x1d0]
mov dword [rsp + 0xa8], eax
movzx eax, byte [0x1800a658e]
mov rcx, qword [0x1800a6668]
imul rax, rcx
test rax, rax
jne 0x18003d2ab
mov dword [rsp + 0x140], 1
jmp 0x18003d2b6
mov dword [rsp + 0x140], 0
movsx eax, byte [rsp + 0x20]
not eax
mov ecx, dword [rsp + 0x140]
sub ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x22]
movzx ecx, cl
imul ecx, ecx, 0
movsx edx, byte [rsp + 0x20]
sub ecx, edx
not ecx
imul eax, ecx
mov dword [0x1800a66cc], eax
mov eax, dword [rsp + 0xac]
jmp 0x18003d312
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xb0]
mov rdi, qword [rax + rcx*8]
xor eax, eax
mov ecx, 0x2110
rep stosb byte [rdi], al
jmp 0x18003d04d
mov rax, qword [rsp + 0x68]
add rsp, 0x268
pop rdi
pop rsi
ret