Function at 0x41c210
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3baf
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x59da54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x274], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0xf
mov byte [edi + 0x30], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0xf
mov byte [edi + 0x48], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0xf
mov byte [edi + 0x60], 0
lea eax, [edi + 0x78]
mov dword [eax + 0x10], 0
mov dword [ebp - 0x288], eax
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0xf
mov byte [edi + 0x90], 0
lea esi, [edi + 0xa8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp + 8]
push str.APPDATA
mov byte [ebp - 4], 7
mov dword [edi + 0xb4], eax
mov byte [edi + 0xb8], 0
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
mov dword [ebp - 0x218], 0
mov ecx, edx
mov dword [ebp - 0x214], 0xf
add esp, 4
mov byte [ebp - 0x228], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x278], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c354
sub ecx, dword [ebp - 0x278]
push ecx
push edx
lea ecx, [ebp - 0x228]
call fcn.004071c0
push 1
push 0x4e822c
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 8
call fcn.00407060
mov ecx, edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x258], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x258]
push eax
movq qword [ebp - 0x248], xmm0
call fcn.00412770
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x41c3f0
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c3e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c420
push edx
push ecx
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x214]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x41c430
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c426
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c426
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x270]
add eax, 7
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
mov dword [ebp - 0x274], 3
call fcn.00411170
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x41c475
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x270]
push eax
call fcn.00407060
push 7
push str.Exotec_
lea ecx, [ebp - 0x270]
call fcn.00407060
push 0xc
push str.ControlTower
lea ecx, [ebp - 0x270]
call fcn.00407060
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x274], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x228], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x218], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 1
push 0x4e822c
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0xa
call fcn.00407060
lea ecx, [edi + 0x30]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x258], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x258]
push eax
movq qword [ebp - 0x248], xmm0
call fcn.00412770
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x41c575
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c56b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5fa
push edx
push ecx
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x214]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x41c5af
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c5a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5fa
push edx
push ecx
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x41c60a
mov ecx, dword [ebp - 0x270]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c600
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c600
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x228]
add eax, 0x10
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
mov dword [ebp - 0x274], 0x1d
call fcn.00411170
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x41c64f
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x228]
push eax
call fcn.00407060
push 0x10
push str.Exotec_Launcher_
lea ecx, [ebp - 0x228]
call fcn.00407060
lea eax, [ebp - 0x228]
push eax
lea ecx, [edi + 0x18]
call fcn.00412770
mov edx, dword [ebp - 0x214]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x41c6bd
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c6b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cfe9
push edx
push ecx
call fcn.00493424
add esp, 8
mov eax, dword [edi + 0x28]
lea ecx, [ebp - 0x240]
add eax, 0xa
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
mov dword [ebp - 0x274], 0x2d
call fcn.00411170
cmp dword [edi + 0x2c], 0x10
lea eax, [edi + 0x18]
jb 0x41c703
mov eax, dword [eax]
push dword [edi + 0x28]
lea ecx, [ebp - 0x240]
push eax
call fcn.00407060
push 0xa
push str.ipList.txt
lea ecx, [ebp - 0x240]
call fcn.00407060
cmp dword [ebp - 0x22c], 0x10
lea eax, [ebp - 0x240]
push 1
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x3fc]
push 0x40
push 1
push eax
call fcn.0041bff0
mov eax, dword [ebp - 0x3fc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x3fc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x400], eax
mov eax, 0xd
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x41c7bc
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c7b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c7b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x3f0]
test al, 6
jne 0x41c8ae
test al, 1
jne 0x41c8ae
nop word [eax + eax]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x3fc]
push eax
call fcn.0041b530
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x228]
add esp, 8
push ecx
cmp eax, dword [esi + 8]
je 0x41c851
mov ecx, eax
call fcn.00408600
add dword [esi + 4], 0x18
jmp 0x41c859
push eax
mov ecx, esi
call fcn.004155a0
mov edx, dword [ebp - 0x214]
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x41c897
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c88d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cfe9
push edx
push ecx
call fcn.00493424
add esp, 8
mov eax, dword [ebp - 0x3fc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x3f0], 1
je 0x41c800
push 1
push 0x40
push 1
push str.ipSystem.txt
lea ecx, [ebp - 0x56c]
call fcn.0041bff0
mov eax, dword [ebp - 0x56c]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x560], 6
jne 0x41c921
lea eax, [edi + 0x90]
push eax
lea eax, [ebp - 0x56c]
push eax
call fcn.0041b530
add esp, 8
lea ecx, [ebp - 0x55c]
call fcn.0040fc50
test eax, eax
jne 0x41c91a
push eax
mov eax, dword [ebp - 0x56c]
lea ecx, [ebp - 0x56c]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [edi + 0xb8], 1
push 1
push 0x40
push 1
push str.ip.txt
lea ecx, [ebp - 0x4b4]
call fcn.0041bff0
mov eax, dword [ebp - 0x4b4]
mov byte [ebp - 4], 0x11
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4a8], 6
jne 0x41c996
lea ecx, [edi + 0x78]
push ecx
lea eax, [ebp - 0x4b4]
push eax
call fcn.0041b530
add esp, 8
lea ecx, [ebp - 0x4a4]
call fcn.0040fc50
test eax, eax
jne 0x41c98a
push eax
mov eax, dword [ebp - 0x4b4]
lea ecx, [ebp - 0x4b4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [edi + 0xb8], 1
jmp 0x41cd73
push 0xc
push str.ControlTower
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x274], 0x200
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
call fcn.004071c0
push 0x10
push str.SOFTWAREExotec_
push 0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x12
call fcn.004105f0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x228], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x218], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, 0x4d
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x25c]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x41ca6c
mov ecx, dword [ebp - 0x270]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ca62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41ca62
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
cmp dword [ebp - 0x214], 0x10
lea edx, [ebp - 0x228]
mov eax, dword [ebp - 0x218]
lea edi, [ebp - 0x228]
cmovae edx, dword [ebp - 0x228]
add eax, edx
mov dword [ebp - 0x260], 0
cmp dword [ebp - 0x214], 0x10
mov dword [ebp - 0x280], eax
cmovae edi, dword [ebp - 0x228]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0x240], cx
push eax
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
call fcn.0041d4f0
push dword [ebp - 0x28c]
lea ecx, [ebp - 0x240]
push dword [ebp - 0x280]
push edi
call fcn.0041b710
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x27c]
push ecx
push 0x20019
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0x15
cmovae eax, dword [ebp - 0x240]
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x41ccd0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.astarIp
push dword [ebp - 0x27c]
call esi
test eax, eax
je 0x41cbae
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.AstarIp
push dword [ebp - 0x27c]
call esi
test eax, eax
je 0x41cbae
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.AstarIP
push dword [ebp - 0x27c]
call esi
test eax, eax
jne 0x41ccd0
xor eax, eax
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cbd4
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.0041d190
cmp dword [ebp - 0x25c], 8
lea edx, [ebp - 0x270]
mov eax, dword [ebp - 0x260]
lea edi, [ebp - 0x270]
cmovae edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x258]
cmovae edi, dword [ebp - 0x270]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x248], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0x244], 0xf
mov dword [ebp - 0x280], eax
sub eax, edi
sar eax, 1
push eax
mov byte [ebp - 0x258], 0
call fcn.00411170
push dword [ebp - 0x28c]
lea ecx, [ebp - 0x258]
push dword [ebp - 0x280]
push edi
call fcn.0041b890
mov ecx, dword [ebp - 0x288]
lea eax, [ebp - 0x258]
push eax
call fcn.00412770
lea ecx, [ebp - 0x258]
call fcn.004063d0
mov edx, dword [ebp - 0x25c]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x41ccd0
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ccc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41ccc6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x41cd10
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cd06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cd5d
push edx
push ecx
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x214]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x41cd6d
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cd63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41cd63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
mov edi, dword [ebp - 0x284]
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x240]
or eax, 0x80
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x274], eax
mov eax, dword [edi + 0x40]
add eax, 0xc
mov dword [ebp - 0x230], 0
push eax
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.00411170
cmp dword [edi + 0x44], 0x10
lea eax, [edi + 0x30]
jb 0x41cdc0
mov eax, dword [eax]
push dword [edi + 0x40]
lea ecx, [ebp - 0x240]
push eax
call fcn.00407060
push 0xc
push str.lastsite.txt
lea ecx, [ebp - 0x240]
call fcn.00407060
cmp dword [ebp - 0x22c], 0x10
lea eax, [ebp - 0x240]
push 1
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x344]
push 0x40
push 1
push eax
call fcn.0041bff0
mov eax, dword [ebp - 0x344]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x344]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x348], eax
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0x19
cmp edx, 0x10
jb 0x41ce6e
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ce64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41ce64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
test byte [ebp + eax - 0x338], 6
jne 0x41cf91
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.0041b530
add esp, 8
lea eax, [ebp - 0x258]
mov ecx, edi
push eax
call fcn.0041d840
lea ecx, [ebp - 0x334]
call fcn.0040fc50
test eax, eax
jne 0x41cf0c
push eax
mov eax, dword [ebp - 0x344]
lea ecx, [ebp - 0x344]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x41cf46
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cf3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cfe9
push edx
push ecx
call fcn.00493424
add esp, 8
lea ecx, [ebp - 0x344]
call fcn.004127f0
lea ecx, [ebp - 0x4b4]
call fcn.004127f0
lea ecx, [ebp - 0x56c]
call fcn.004127f0
lea ecx, [ebp - 0x3fc]
call fcn.004127f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493440
mov esp, ebp
pop ebp
ret 4
push 0xb
push str.unspecified
lea ecx, [ebp - 0x258]
call fcn.004071c0
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, edi
call fcn.0041d840
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x41cf46
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cf3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41cf3c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3