Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
jmp 0x40d120
sub rsp, 0xb8
mov dword [rsp + 0x60], 0
call qword [sym.imp.kernel32.dll_GetCommandLineA]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x40d14e
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
test eax, eax
jne 0x40d15a
lea rax, [0x004191a4]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x41], al
movsx eax, byte [rsp + 0x41]
test eax, eax
je 0x40d29c
movsx eax, byte [rsp + 0x41]
cmp eax, 0x20
je 0x40d1a5
movsx eax, byte [rsp + 0x41]
cmp eax, 9
je 0x40d1a5
movsx eax, byte [rsp + 0x41]
cmp eax, 0xa
je 0x40d1a5
movsx eax, byte [rsp + 0x41]
cmp eax, 0xd
jne 0x40d1c0
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x41], al
jmp 0x40d17d
movsx eax, byte [rsp + 0x41]
test eax, eax
jne 0x40d1ce
jmp 0x40d29c
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movsx eax, byte [rsp + 0x41]
cmp eax, 0x22
jne 0x40d233
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x41], al
movsx eax, byte [rsp + 0x41]
test eax, eax
je 0x40d20e
movsx eax, byte [rsp + 0x41]
cmp eax, 0x22
jne 0x40d1e2
movsx eax, byte [rsp + 0x41]
cmp eax, 0x22
jne 0x40d231
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x41], al
jmp 0x40d27f
movsx eax, byte [rsp + 0x41]
test eax, eax
je 0x40d27f
movsx eax, byte [rsp + 0x41]
cmp eax, 0x20
je 0x40d27f
movsx eax, byte [rsp + 0x41]
cmp eax, 9
je 0x40d27f
movsx eax, byte [rsp + 0x41]
cmp eax, 0xa
je 0x40d27f
movsx eax, byte [rsp + 0x41]
cmp eax, 0xd
je 0x40d27f
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x41], al
jmp 0x40d233
movsx eax, byte [rsp + 0x41]
test eax, eax
jne 0x40d28a
jmp 0x40d29c
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
jmp 0x40d164
movsxd rax, dword [rsp + 0x60]
shl rax, 3
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.kernel32.dll_LocalAlloc]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
inc rax
sub rax, qword [rsp + 0x78]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.kernel32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x70], 0
je 0x40d2f4
cmp qword [rsp + 0x68], 0
jne 0x40d30b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x60], 1
jmp 0x40d4bc
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
movsx eax, byte [rsp + 0x40]
test eax, eax
je 0x40d4bc
movsx eax, byte [rsp + 0x40]
cmp eax, 0x20
je 0x40d34c
movsx eax, byte [rsp + 0x40]
cmp eax, 9
je 0x40d34c
movsx eax, byte [rsp + 0x40]
cmp eax, 0xa
je 0x40d34c
movsx eax, byte [rsp + 0x40]
cmp eax, 0xd
jne 0x40d367
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
jmp 0x40d324
movsx eax, byte [rsp + 0x40]
test eax, eax
jne 0x40d375
jmp 0x40d4bc
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movsx eax, byte [rsp + 0x40]
cmp eax, 0x22
jne 0x40d425
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
movsx eax, byte [rsp + 0x40]
test eax, eax
je 0x40d400
movsx eax, byte [rsp + 0x40]
cmp eax, 0x22
je 0x40d400
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
jmp 0x40d3b9
movsx eax, byte [rsp + 0x40]
cmp eax, 0x22
jne 0x40d423
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
jmp 0x40d48a
movsx eax, byte [rsp + 0x40]
test eax, eax
je 0x40d48a
movsx eax, byte [rsp + 0x40]
cmp eax, 0x20
je 0x40d48a
movsx eax, byte [rsp + 0x40]
cmp eax, 9
je 0x40d48a
movsx eax, byte [rsp + 0x40]
cmp eax, 0xa
je 0x40d48a
movsx eax, byte [rsp + 0x40]
cmp eax, 0xd
je 0x40d48a
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
jmp 0x40d425
mov rax, qword [rsp + 0x68]
mov byte [rax], 0
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
movsx eax, byte [rsp + 0x40]
test eax, eax
jne 0x40d4aa
jmp 0x40d4bc
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
jmp 0x40d30b
mov qword [0x0041c268], 0
mov dword [0x0041c270], 0
mov dword [0x0041c274], 0
mov ecx, 0xfffffff6
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov qword [0x0041c288], rax
mov ecx, 0xfffffff5
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov qword [0x0041c290], rax
mov eax, dword [0x00417010]
and eax, 0x80
test eax, eax
je 0x40d548
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, str.Messages
call qword [sym.imp.kernel32.dll_CreateFileA]
mov qword [0x0041c298], rax
jmp 0x40d55a
mov ecx, 0xfffffff4
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov qword [0x0041c298], rax
mov eax, dword [0x00417010]
and eax, 0x800
test eax, eax
je 0x40d576
mov dword [rsp + 0x80], 1
jmp 0x40d581
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
mov dword [0x0041c27c], eax
mov rcx, qword [0x0041c288]
call qword [sym.imp.kernel32.dll_GetFileType]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 1
je 0x40d5c3
cmp dword [rsp + 0x84], 3
je 0x40d5c3
mov dword [rsp + 0x88], 0
jmp 0x40d5ce
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x88]
mov dword [0x0041c280], eax
mov rcx, qword [0x0041c290]
call qword [sym.imp.kernel32.dll_GetFileType]
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 1
je 0x40d610
cmp dword [rsp + 0x8c], 3
je 0x40d610
mov dword [rsp + 0x90], 0
jmp 0x40d61b
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [0x0041c284], eax
cmp dword [0x0041c280], 0
jne 0x40d63a
cmp dword [0x0041c284], 0
je 0x40d63f
call fcn.004117f0
mov eax, dword [0x00417010]
and eax, 0x10
test eax, eax
je 0x40d659
mov dword [rsp + 0x94], 0
jmp 0x40d664
mov dword [rsp + 0x94], 1
mov eax, dword [rsp + 0x94]
mov dword [0x0041c2a0], eax
cmp dword [0x00417020], 0x280
jge 0x40d687
mov dword [0x00417020], 0x280
cmp dword [0x00417020], 0x6400
jle 0x40d69d
mov dword [0x00417020], 0x6400
mov dword [rsp + 0x50], 1
mov eax, dword [0x00417010]
and eax, 0x2000
test eax, eax
jne 0x40deb0
jmp 0x40d6c4
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x50], eax
jge 0x40deb0
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x2d
je 0x40d6f7
jmp 0x40deb0
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x68
jne 0x40d79f
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40d79f
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x50], eax
jl 0x40d75f
lea rcx, str.Heapsize_missing_n
call fcn.0040b8d0
mov eax, 0xffffffff
jmp 0x40dfbb
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + rax*8]
call fcn.0040ce70
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jge 0x40d78d
mov eax, 0xffffffff
jmp 0x40dfbb
mov eax, dword [rsp + 0x98]
mov dword [section..data], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x73
jne 0x40d83a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40d83a
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x50], eax
jl 0x40d7fa
lea rcx, str.Stacksize_missing_n
call fcn.0040b8d0
mov eax, 0xffffffff
jmp 0x40dfbb
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + rax*8]
call fcn.0040ce70
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
jge 0x40d828
mov eax, 0xffffffff
jmp 0x40dfbb
mov eax, dword [rsp + 0x9c]
mov dword [0x00417008], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x62
jne 0x40d87b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40d87b
mov eax, dword [0x00417010]
or eax, 1
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x73
jne 0x40d8d3
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40d8d3
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40d8d3
mov eax, dword [0x00417010]
and eax, 0xfffffffe
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x74
jne 0x40d914
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40d914
mov eax, dword [0x00417010]
or eax, 8
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x6e
jne 0x40d96c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x74
jne 0x40d96c
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40d96c
mov eax, dword [0x00417010]
and eax, 0xfffffff7
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x67
jne 0x40d9c4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40d9c4
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40d9c4
mov eax, dword [0x00417010]
or eax, 2
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x6e
jne 0x40da33
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x67
jne 0x40da33
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40da33
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40da33
mov eax, dword [0x00417010]
and eax, 0xfffffffd
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x73
jne 0x40da8b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x74
jne 0x40da8b
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40da8b
mov eax, dword [0x00417010]
or eax, 4
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x6e
jne 0x40dafa
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x73
jne 0x40dafa
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x74
jne 0x40dafa
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40dafa
mov eax, dword [0x00417010]
and eax, 0xfffffffb
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x6e
jne 0x40db52
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x72
jne 0x40db52
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40db52
mov eax, dword [0x00417010]
or eax, 0x10
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x67
jne 0x40dbc1
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40dbc1
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x6d
jne 0x40dbc1
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40dbc1
mov eax, dword [0x00417010]
or eax, 0x40
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x67
jne 0x40dc30
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40dc30
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40dc30
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40dc30
mov eax, dword [0x00417010]
and eax, 0xffffffbf
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x67
jne 0x40dd01
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40dd01
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x69
jne 0x40dd01
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40dd01
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x50], eax
jl 0x40dcc1
lea rcx, str.Initial_heap_size_missing_n
call fcn.0040b8d0
mov eax, 0xffffffff
jmp 0x40dfbb
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + rax*8]
call fcn.0040ce70
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
jge 0x40dcef
mov eax, 0xffffffff
jmp 0x40dfbb
mov eax, dword [rsp + 0xa0]
mov dword [0x00417018], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x67
jne 0x40ddd5
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40ddd5
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x66
jne 0x40ddd5
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40ddd5
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x50], eax
jl 0x40dd92
lea rcx, str.Next_heap_size_factor_missing_n
call fcn.0040b8d0
mov eax, 0xffffffff
jmp 0x40dfbb
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + rax*8]
call fcn.0040cfb0
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jge 0x40ddc0
mov eax, 0xffffffff
jmp 0x40dfbb
mov eax, dword [rsp + 0xa4]
shl eax, 8
mov dword [0x00417020], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x67
jne 0x40de42
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40de42
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x70
jne 0x40de42
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40de42
mov eax, dword [0x00417010]
bts eax, 0xc
mov dword [0x00417010], eax
jmp 0x40deab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x63
jne 0x40dea9
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x6f
jne 0x40dea9
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x6e
jne 0x40dea9
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x40dea9
mov dword [0x0041c27c], 1
jmp 0x40deab
jmp 0x40deb0
jmp 0x40d6ba
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
mov eax, 8
imul rax, rax, 0
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x70]
mov rax, qword [r8 + rax]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*8]
mov qword [0x0041c260], rax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [0x0041c258], eax
lea rcx, [0x0040d080]
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
call fcn.00401010
cmp qword [0x0041c268], 0
je 0x40df23
call qword [0x0041c268]
mov eax, dword [0x00417010]
and eax, 0x10
test eax, eax
je 0x40df58
mov eax, dword [0x00417010]
and eax, 8
test eax, eax
jne 0x40df58
cmp dword [0x0041c270], 0
jne 0x40df58
cmp dword [0x0041c2a0], 0
je 0x40df66
cmp dword [0x0041c2a4], 0
jne 0x40df66
cmp dword [0x0041c27c], 0
jne 0x40df66
call fcn.0040ccd0
cmp dword [0x0041c284], 0
je 0x40df8d
mov eax, 0x80
imul rax, rax, 1
lea rcx, [0x0041c2a8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.00411290
cmp dword [0x0041c274], 0
jne 0x40dfa9
cmp dword [0x0041c270], 0
je 0x40dfa9
mov dword [0x0041c274], 0xffffffff
mov ecx, dword [0x0041c274]
call qword [sym.imp.kernel32.dll_ExitProcess]
add rsp, 0xb8
ret