Function at 0x14004a3d0
Capabilities:
Read .ini file

Disassembly:
push rdi
mov eax, 0x5060
call fcn.140057910
sub rsp, rax
mov rax, qword [0x1400600c0]
xor rax, rsp
mov qword [rsp + 0x5058], rax
lea rax, [0x1400684d0]
mov qword [rsp + 0x5048], rax
mov qword [rsp + 0x5050], 0
movzx eax, byte [0x14005b837]
mov byte [rsp + 0x4040], al
lea rdi, [rsp + 0x4041]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
movzx eax, byte [0x14005b853]
mov byte [rsp + 0x3040], al
lea rdi, [rsp + 0x3041]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
movzx eax, byte [0x14005b857]
mov byte [rsp + 0x40], al
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
movzx eax, byte [0x14005b889]
mov byte [rsp + 0x2040], al
lea rdi, [rsp + 0x2041]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
movzx eax, byte [0x14005b88a]
mov byte [rsp + 0x1040], al
lea rdi, [rsp + 0x1041]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
mov dword [rsp + 0x5040], 0x1000
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x4024], 0
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x402c], 0
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x4028], 0
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x4034], 0x18
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x4030], 0x1388
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x4038], 1
mov rax, qword [rsp + 0x5048]
movsd xmm0, qword [0x14005c4f8]
movsd qword [rax + 0x4044], xmm0
mov rax, qword [rsp + 0x5048]
movsd xmm0, qword [0x14005c4f0]
movsd qword [rax + 0x404c], xmm0
mov rax, qword [rsp + 0x5048]
xorpd xmm0, xmm0
movsd qword [rax + 0x4054], xmm0
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x403c], 0
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x4040], 0
mov rax, qword [rsp + 0x5048]
mov byte [rax + 0x405c], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x5050], rax
cmp qword [rsp + 0x5050], 0
jne 0x14004a5b1
mov al, 1
jmp 0x14004b30e
mov r8d, 0x1000
lea rdx, [rsp + 0x4040]
mov rcx, qword [rsp + 0x5050]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
ja 0x14004a5d8
mov al, 1
jmp 0x14004b30e
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x3040]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x4040]
call fcn.1400033b8
mov qword [rsp + 0x20], 0
lea r9, str.CncPreview.ini
lea r8, [rsp + 0x3040]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x2040]
call fcn.140002528
xor edx, edx
lea rcx, [rsp + 0x2040]
call fcn.140001f68
test eax, eax
je 0x14004a642
mov al, 1
jmp 0x14004b30e
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b88b]
lea rdx, str.PRIORITY
lea rcx, [0x14005bc80]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a6b1
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
cmp dword [rsp + 0x5040], 0
jl 0x14004a6b1
mov rcx, qword [rsp + 0x5048]
mov eax, dword [rsp + 0x5040]
mov dword [rcx + 0x4024], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b8bd]
lea rdx, str.COMPLEX
lea rcx, [0x14005bc98]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a71a
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
cmp dword [rsp + 0x5040], 0
jle 0x14004a71a
mov rax, qword [rsp + 0x5048]
mov byte [rax + 0x405c], 1
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b8be]
lea rdx, str.BINPOPUP
lea rcx, [0x14005bcb8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a789
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
cmp dword [rsp + 0x5040], 0
jl 0x14004a789
mov rcx, qword [rsp + 0x5048]
mov eax, dword [rsp + 0x5040]
mov dword [rcx + 0x402c], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b8bf]
lea rdx, str.LANGUAGE
lea rcx, [0x14005bcd8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a7f8
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
cmp dword [rsp + 0x5040], 0
jl 0x14004a7f8
mov rcx, qword [rsp + 0x5048]
mov eax, dword [rsp + 0x5040]
mov dword [rcx + 0x4028], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b8e1]
lea rdx, str.MAXSIZE
lea rcx, [0x14005bcf0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a867
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
cmp dword [rsp + 0x5040], 0
jl 0x14004a867
mov rcx, qword [rsp + 0x5048]
mov eax, dword [rsp + 0x5040]
mov dword [rcx + 0x4034], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b8e2]
lea rdx, str.MAXTIME
lea rcx, [0x14005bd08]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a8d6
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
cmp dword [rsp + 0x5040], 0
jl 0x14004a8d6
mov rcx, qword [rsp + 0x5048]
mov eax, dword [rsp + 0x5040]
mov dword [rcx + 0x4030], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b8e3]
lea rdx, str.MACHINE
lea rcx, [0x14005bd20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a945
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
cmp dword [rsp + 0x5040], 0
jl 0x14004a945
mov rcx, qword [rsp + 0x5048]
mov eax, dword [rsp + 0x5040]
mov dword [rcx + 0x4038], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b917]
lea rdx, [0x14005bd2c]
lea rcx, [0x14005bd30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a99e
lea rcx, [rsp + 0x1040]
call fcn.140003108
mov rax, qword [rsp + 0x5048]
movsd qword [rax + 0x4044], xmm0
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b92d]
lea rdx, [0x14005bd3c]
lea rcx, [0x14005bd40]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004a9f7
lea rcx, [rsp + 0x1040]
call fcn.140003108
mov rax, qword [rsp + 0x5048]
movsd qword [rax + 0x404c], xmm0
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b92e]
lea rdx, [0x14005bd4c]
lea rcx, [0x14005bd50]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004aa50
lea rcx, [rsp + 0x1040]
call fcn.140003108
mov rax, qword [rsp + 0x5048]
movsd qword [rax + 0x4054], xmm0
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b92f]
lea rdx, str.TABLEMASTER
lea rcx, [0x14005bd70]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004aabf
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
cmp dword [rsp + 0x5040], 0
jl 0x14004aabf
mov rcx, qword [rsp + 0x5048]
mov eax, dword [rsp + 0x5040]
mov dword [rcx + 0x403c], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b953]
lea rdx, str.TABLESLAVE
lea rcx, [0x14005bd90]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004ab24
lea rcx, [rsp + 0x1040]
call fcn.140002184
mov dword [rsp + 0x5040], eax
mov rcx, qword [rsp + 0x5048]
mov eax, dword [rsp + 0x5040]
mov dword [rcx + 0x4040], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b959]
lea rdx, str.COLORR
lea rcx, [0x14005bda8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004abc1
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x14109dc28], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b95a]
lea rdx, str.COLORS
lea rcx, [0x14005bdc0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004ac5e
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x14006754c], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b95b]
lea rdx, str.COLORC
lea rcx, [0x14005bdd8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004acfb
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x140067550], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b98a]
lea rdx, str.COLOR1
lea rcx, [0x14005bdf0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004ad98
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x140067554], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b98b]
lea rdx, str.COLOR2
lea rcx, [0x14005be08]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004ae35
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x140067558], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b98e]
lea rdx, str.COLOR3
lea rcx, [0x14005be20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004aed2
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x14006755c], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b98f]
lea rdx, str.COLOR4
lea rcx, [0x14005be38]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004af6f
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x140067560], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b9a7]
lea rdx, str.COLOR5
lea rcx, [0x14005be50]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004b00c
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x140067564], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b9ce]
lea rdx, str.COLOR6
lea rcx, [0x14005be68]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004b0a9
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x140067568], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b9cf]
lea rdx, str.COLOR7
lea rcx, [0x14005be80]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004b146
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x14006756c], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b9de]
lea rdx, str.COLOR10
lea rcx, [0x14005be98]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004b1e3
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x140067570], eax
lea rax, [rsp + 0x2040]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x1040]
lea r8, [0x14005b9df]
lea rdx, str.COLOR11
lea rcx, [0x14005beb0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004b280
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x1040]
call fcn.140002ff8
mov dword [rsp + 0x5040], eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff0000
sar eax, 0x10
movzx edx, al
mov eax, dword [rsp + 0x5040]
and eax, 0xff00
sar eax, 8
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [rsp + 0x5040]
and eax, 0xff
movzx ecx, al
shl ecx, 0x10
mov eax, edx
or eax, ecx
mov dword [0x140067574], eax
mov rax, qword [rsp + 0x5048]
cmp dword [rax + 0x403c], 1
jl 0x14004b2a2
mov rax, qword [rsp + 0x5048]
cmp dword [rax + 0x403c], 0xc
jle 0x14004b2c6
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x4040], 0
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x403c], 0
mov rax, qword [rsp + 0x5048]
cmp dword [rax + 0x4040], 0xc
jg 0x14004b2e8
mov rax, qword [rsp + 0x5048]
cmp dword [rax + 0x4040], 0xfffffff4
jge 0x14004b30c
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x4040], 0
mov rax, qword [rsp + 0x5048]
mov dword [rax + 0x403c], 0
mov al, 1
mov rcx, qword [rsp + 0x5058]
xor rcx, rsp
call fcn.140001280
add rsp, 0x5060
pop rdi
ret