Function at 0x40ba70
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d332
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x508
mov eax, dword [0x440040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x26c], eax
xor edi, edi
mov eax, dword [0x440b34]
xorps xmm0, xmm0
push 0x2c
push edi
mov dword [ebp - 0x264], edi
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x2a4], 0x3020100
mov dword [ebp - 0x2a0], 0x7060504
mov dword [ebp - 0x29c], 0xb0a0908
mov dword [ebp - 0x298], 0xf0e0d0c
mov dword [ebp - 0x294], 0x13121110
mov dword [ebp - 0x290], 0x17161514
mov dword [ebp - 0x28c], 0x1b1a1918
mov dword [ebp - 0x288], 0x1f1e1d1c
mov dword [ebp - 0x284], 0x23222120
mov dword [ebp - 0x280], 0x27262524
mov dword [ebp - 0x27c], 0x2b2a2928
movq qword [ebp - 0x258], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x34
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1e8], edi
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x1dc], ax
movq qword [ebp - 0x1f0], xmm0
push 0x17e
push eax
lea eax, [ebp - 0x1da]
movq qword [ebp - 0x1e4], xmm0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor al, al
mov byte [ebp - 0x25a], al
cmp al, 8
jae 0x40c56a
mov ecx, dword [ebp - 0x268]
movzx eax, al
add ecx, 0x380
imul edx, eax, 0x247
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx]
mov dword [ebp - 0x260], edx
cmp byte [eax + edx + 1], 0
je 0x40c55d
mov ecx, esi
call fcn.004183b0
mov eax, dword [ebp - 0x24]
inc eax
push eax
push str.Attempting_to_flash_config_for_slot__u..._r_n
push 0xc8c8c8
push esi
call fcn.00418430
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
push 0x38
mov eax, dword [eax]
add eax, 0x217
add eax, dword [ebp - 0x260]
mov dword [ebp - 0x28], eax
call fcn.0042b863
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x2c4], esi
push 0x38
push 0
push esi
mov byte [ebp - 4], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x28]
call fcn.0040ef90
or edi, 0x20
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x264], edi
push 1
push 0x80
push 3
push 1
push 0x80000000
push esi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00418d60
test eax, eax
je 0x40c90b
mov ax, word [esi + 0x30]
inc ax
movzx eax, ax
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x20]
push 0x38
mov eax, dword [eax]
add eax, dword [ebp - 0x260]
mov dword [ebp - 0x28], eax
call fcn.0042b863
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2c8], esi
push 0x38
push 0
push esi
mov byte [ebp - 4], 4
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x28]
add esp, 0xc
add eax, 0x22f
mov ecx, esi
push eax
call fcn.0040ef90
or edi, 0x40
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 3
mov dword [esi + 0x20], 0x80000000
mov dword [esi + 0x24], 0x80
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x264], edi
mov byte [ebp - 4], 5
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x40bd64
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40bdd6
test al, 0x10
jne 0x40bdd6
mov edi, dword [ebp - 0x274]
mov ecx, edi
call fcn.004183b0
push str.Existing_config_data_was_located_for_this_script._r_n
push 0xb0c94e
push edi
call fcn.00418430
add esp, 0xc
mov ecx, esi
push dword [esi + 0x18]
push dword [esi + 0x24]
push dword [esi + 0x1c]
push dword [esi + 0x28]
push dword [esi + 0x20]
push esi
call fcn.00418d60
test eax, eax
je 0x40c99b
push ecx
push 0
push 0x1fc
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call fcn.00418cb0
test eax, eax
je 0x40c953
jmp 0x40bf7a
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x440b34]
mov eax, dword [eax]
add eax, 0x1ff
add eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.00421920
mov ecx, eax
mov byte [ebp - 4], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov edx, 0x33
mov dword [ebp - 0x34], 0
cmp dword [ecx + 0x10], edx
cmovb edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0xf
jbe 0x40be28
mov ecx, dword [ecx]
push edx
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040ecd0
or edi, 0x80
mov dword [ebp - 0x264], edi
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2a8]
cmp ecx, 0xf
jbe 0x40be7e
mov edx, dword [ebp - 0x2bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40be74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40be74
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042b893
add esp, 8
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0xf
mov byte [ebp - 0x2bc], 0
cmp ecx, edx
jae 0x40bebb
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
mov word [eax + ecx], 0
jmp 0x40bec9
push 0
push dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040ea90
movups xmm0, xmmword [ebp - 0x2a4]
cmp dword [ebp - 0x34], 0xf
mov eax, 0xffff
mov word [ebp - 0x258], ax
mov eax, dword [ebp - 0x270]
mov word [ebp - 0x1e4], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
movups xmmword [ebp - 0x250], xmm0
push eax
movups xmm0, xmmword [ebp - 0x294]
lea eax, [ebp - 0x224]
mov byte [ebp - 0x254], 0x23
push dword [ebp - 0x38]
movups xmmword [ebp - 0x240], xmm0
push eax
movq xmm0, qword [ebp - 0x284]
movq qword [ebp - 0x230], xmm0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov byte [ebp - 4], 5
add esp, 0xc
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x40bf7a
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bf70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042b893
add esp, 8
mov al, byte [ebp - 0x25a]
lea esi, [ebp - 0x258]
add al, 0x30
lea edi, [ebp - 0x518]
mov byte [ebp - 0x251], al
mov ecx, 0x7f
rep movsd dword es:[edi], dword [esi]
xor al, al
mov byte [ebp - 0x259], al
cmp al, 8
jae 0x40c179
push 0x1c
call fcn.0042b863
mov edi, eax
add esp, 4
mov dword [ebp - 0x2cc], edi
mov byte [ebp - 4], 0xb
lea esi, [edi + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x270], esi
movq qword [edi], xmm0
mov ecx, esi
mov dword [edi + 8], 0
push 0x80
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_FlashConfigCommand_.0
call fcn.004290b0
push 1
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00429150
mov eax, dword [esi]
add eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [esi + 0xc]
jbe 0x40c019
mov dword [esi + 0xc], eax
push 1
mov ecx, esi
call fcn.00429150
mov eax, dword [esi]
add eax, dword [esi + 4]
mov byte [eax], 0xf3
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [esi + 0xc]
jbe 0x40c036
mov dword [esi + 0xc], eax
or dword [ebp - 0x264], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
push 0x3c
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00429150
movzx ecx, byte [ebp - 0x259]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [esi + 4]
add ecx, dword [esi]
movups xmm0, xmmword [ebp + eax*4 - 0x518]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp + eax*4 - 0x508]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp + eax*4 - 0x4f8]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [ebp + eax*4 - 0x4e8]
mov eax, dword [ebp + eax*4 - 0x4e0]
movq qword [ecx + 0x30], xmm0
mov dword [ecx + 0x38], eax
add dword [esi], 0x3c
mov eax, dword [esi]
cmp eax, dword [esi + 0xc]
jbe 0x40c0b3
mov dword [esi + 0xc], eax
push 0x41
call fcn.0042b8ab
add esp, 4
mov dword [ebp - 0x270], eax
push 0x41
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
mov ecx, dword [ebp - 0x270]
cmp byte [ebp - 0x259], 0
mov dword [ebp - 0x260], ecx
mov ax, word [eax]
mov word [ecx], ax
mov eax, 0x1fc
mov word [ecx + 2], ax
sete al
mov byte [ecx + 4], al
mov eax, dword [esi + 0xc]
sub eax, 2
push eax
mov eax, dword [esi + 4]
add eax, 2
push eax
lea eax, [ecx + 5]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
add esp, 0xc
lea ecx, [esi + 0x35c]
push eax
call fcn.0040d270
cmp dword [esi + 0x36c], 1
jne 0x40c143
push dword [ebp - 0x260]
mov ecx, esi
call fcn.0041cbe0
mov byte [ebp - 4], 5
lea ecx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x40c16c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
jne 0x40c16c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x259]
inc al
jmp 0x40bf9d
push 0x10
call fcn.0042b863
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
xorps xmm0, xmm0
mov byte [ebp - 4], 0xf
push 0x80
mov ecx, esi
movups xmmword [esi], xmm0
call fcn.004290b0
push 1
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00429150
mov eax, dword [esi + 4]
add eax, dword [esi]
mov byte [eax], 0
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [esi + 0xc]
jbe 0x40c1bf
mov dword [esi + 0xc], eax
push 1
mov ecx, esi
call fcn.00429150
mov eax, dword [esi + 4]
add eax, dword [esi]
mov byte [eax], 0xf3
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [esi + 0xc]
jbe 0x40c1dc
mov dword [esi + 0xc], eax
or dword [ebp - 0x264], 0x10
mov dword [ebp - 0x24], esi
push 0x1c
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.00429150
mov ecx, dword [esi + 4]
add ecx, dword [esi]
movups xmm0, xmmword [ebp - 0x338]
mov eax, dword [ebp - 0x320]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
add dword [esi], 0x1c
mov eax, dword [esi]
cmp eax, dword [esi + 0xc]
jbe 0x40c225
mov dword [esi + 0xc], eax
push 0x41
call fcn.0042b8ab
add esp, 4
mov edi, eax
push 0x41
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x260], edi
mov ax, word [eax]
mov word [edi], ax
mov eax, 0x1fc
mov word [edi + 2], ax
mov eax, dword [esi + 0xc]
sub eax, 2
push eax
mov eax, dword [esi + 4]
add eax, 2
push eax
lea eax, [edi + 5]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
add esp, 0xc
lea eax, [edi + 0x35c]
push ecx
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.0040d270
cmp dword [edi + 0x36c], 1
jne 0x40c2a3
push dword [ebp - 0x260]
mov ecx, edi
call fcn.0041cbe0
push 0x10
call fcn.0042b863
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
xorps xmm0, xmm0
mov byte [ebp - 4], 0x12
push 0x80
mov ecx, edi
movups xmmword [edi], xmm0
call fcn.004290b0
push 1
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.00429150
mov eax, dword [edi + 4]
add eax, dword [edi]
mov byte [eax], 0
inc dword [edi]
mov eax, dword [edi]
cmp eax, dword [edi + 0xc]
jbe 0x40c2e9
mov dword [edi + 0xc], eax
push 1
mov ecx, edi
call fcn.00429150
mov eax, dword [edi]
add eax, dword [edi + 4]
mov byte [eax], 0x20
inc dword [edi]
mov eax, dword [edi]
cmp eax, dword [edi + 0xc]
jbe 0x40c306
mov dword [edi + 0xc], eax
or dword [ebp - 0x264], 4
mov dword [ebp - 0x20], edi
push 0x41
mov byte [ebp - 4], 0x14
call fcn.0042b8ab
add esp, 4
mov dword [ebp - 0x270], eax
push 0x41
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 4]
add esp, 0xc
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x260], ecx
movzx eax, word [eax]
mov word [ecx], ax
movzx eax, word [edi + 0xc]
sub ax, 2
movzx eax, ax
mov word [ecx + 2], ax
mov byte [ecx + 4], 1
mov eax, dword [edi + 0xc]
sub eax, 2
push eax
mov eax, dword [edi + 4]
add eax, 2
push eax
lea eax, [ecx + 5]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x260]
add esp, 0xc
push eax
call fcn.0040d270
mov eax, dword [ebp - 0x268]
cmp dword [eax + 0x36c], 1
jne 0x40c39e
push dword [ebp - 0x260]
mov ecx, eax
call fcn.0041cbe0
mov eax, dword [edi + 4]
test eax, eax
je 0x40c3ae
push eax
call fcn.0042b8a6
add esp, 4
push 0x10
push edi
call fcn.0042b893
mov eax, dword [esi + 4]
add esp, 8
test eax, eax
je 0x40c3c9
push eax
call fcn.0042b8a6
add esp, 4
push 0x10
push esi
call fcn.0042b893
mov eax, dword [ebp - 0x2c0]
add esp, 8
test eax, eax
je 0x40c3e4
push eax
call fcn.0040d370
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x40c8ed
push eax
call fcn.0040d370
jmp 0x40c8ed
mov al, byte [ebp - 0x25a]
inc al
jmp 0x40bbaf
push 0
push 0x323
push dword [esi + 0x3c]
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
call esi
mov edi, dword [ebp - 0x274]
push 0x400
push 3
push dword [edi + 0x3c]
call esi
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov esi, 0x6e
nop dword [eax]
push 1
push esi
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
inc esi
cmp esi, 0x73
jbe 0x40c5a0
push 0x10
call fcn.0042b863
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
xorps xmm0, xmm0
mov dword [ebp - 4], 0x19
push 0x80
mov ecx, edi
movups xmmword [edi], xmm0
call fcn.004290b0
push 1
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.00429150
mov eax, dword [edi]
add eax, dword [edi + 4]
mov byte [eax], 0
mov eax, dword [edi]
inc eax
mov dword [edi], eax
cmp eax, dword [edi + 0xc]
jbe 0x40c603
mov dword [edi + 0xc], eax
push 1
mov ecx, edi
call fcn.00429150
mov eax, dword [edi]
add eax, dword [edi + 4]
mov byte [eax], 0xb2
mov eax, dword [edi]
inc eax
mov dword [edi], eax
cmp eax, dword [edi + 0xc]
jbe 0x40c621
mov dword [edi + 0xc], eax
mov dword [ebp - 0x30], edi
mov esi, dword [ebp - 0x268]
mov ecx, edi
mov dword [ebp - 4], 0x1b
push 1
mov al, byte [esi + 0x3e9]
mov byte [ebp - 0x259], al
call fcn.00429150
mov eax, dword [edi]
add eax, dword [edi + 4]
mov cl, byte [ebp - 0x259]
mov byte [eax], cl
mov eax, dword [edi]
inc eax
mov dword [edi], eax
cmp eax, dword [edi + 0xc]
jbe 0x40c660
mov dword [edi + 0xc], eax
mov al, byte [esi + 0x3ea]
mov ecx, edi
push 1
mov byte [ebp - 0x259], al
call fcn.00429150
mov eax, dword [edi + 4]
add eax, dword [edi]
mov cl, byte [ebp - 0x259]
mov byte [eax], cl
mov eax, dword [edi]
inc eax
mov dword [edi], eax
cmp eax, dword [edi + 0xc]
jbe 0x40c68f
mov dword [edi + 0xc], eax
mov al, byte [esi + 0x3eb]
mov ecx, edi
push 1
mov byte [ebp - 0x259], al
call fcn.00429150
mov eax, dword [edi]
add eax, dword [edi + 4]
mov cl, byte [ebp - 0x259]
mov byte [eax], cl
mov eax, dword [edi]
inc eax
mov dword [edi], eax
cmp eax, dword [edi + 0xc]
jbe 0x40c6be
mov dword [edi + 0xc], eax
mov al, byte [esi + 0x3ec]
mov ecx, edi
push 1
mov byte [ebp - 0x259], al
call fcn.00429150
mov eax, dword [edi]
add eax, dword [edi + 4]
mov cl, byte [ebp - 0x259]
mov byte [eax], cl
mov eax, dword [edi]
inc eax
mov dword [edi], eax
cmp eax, dword [edi + 0xc]
jbe 0x40c6ed
mov dword [edi + 0xc], eax
mov esi, 0x38
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jns 0x40c706
dec eax
or eax, 0xffffff00
inc eax
push 1
mov ecx, edi
mov dword [ebp - 0x278], eax
call fcn.00429150
mov ecx, dword [edi]
add ecx, dword [edi + 4]
mov eax, dword [ebp - 0x278]
mov byte [ecx], al
inc dword [edi]
mov eax, dword [edi]
cmp eax, dword [edi + 0xc]
jbe 0x40c72e
mov dword [edi + 0xc], eax
sub esi, 1
jne 0x40c6f2
push 0x41
call fcn.0042b8ab
add esp, 4
mov esi, eax
push 0x41
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0x260], esi
mov cx, word [ecx]
mov word [esi], cx
mov ax, word [edi + 0xc]
sub ax, 2
movzx eax, ax
mov word [esi + 2], ax
mov byte [esi + 4], 1
mov eax, dword [edi + 0xc]
sub eax, 2
push eax
mov eax, dword [edi + 4]
add eax, 2
push eax
lea eax, [esi + 5]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
add esp, 0xc
lea eax, [esi + 0x35c]
push ecx
mov ecx, eax
mov dword [ebp - 0x278], eax
call fcn.0040d270
cmp dword [esi + 0x36c], 1
jne 0x40c7be
push dword [ebp - 0x260]
mov ecx, esi
call fcn.0041cbe0
push 0x10
call fcn.0042b863
mov esi, eax
add esp, 4
mov dword [ebp - 0x26c], esi
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1c
push 0x80
mov ecx, esi
movups xmmword [esi], xmm0
call fcn.004290b0
push 1
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.00429150
mov eax, dword [esi + 4]
add eax, dword [esi]
mov byte [eax], 0
mov eax, dword [esi]
inc eax
mov dword [esi], eax
cmp eax, dword [esi + 0xc]
jbe 0x40c808
mov dword [esi + 0xc], eax
push 1
mov ecx, esi
call fcn.00429150
mov eax, dword [esi]
add eax, dword [esi + 4]
mov byte [eax], 0xfb
mov eax, dword [esi]
inc eax
mov dword [esi], eax
cmp eax, dword [esi + 0xc]
jbe 0x40c826
mov dword [esi + 0xc], eax
mov dword [ebp - 0x50], esi
push 0x41
mov byte [ebp - 4], 0x1e
call fcn.0042b8ab
add esp, 4
mov esi, eax
push 0x41
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x26c]
add esp, 0xc
mov dword [ebp - 0x260], esi
mov ecx, dword [edx + 4]
mov cx, word [ecx]
mov word [esi], cx
mov ax, word [edx + 0xc]
sub ax, 2
mov word [esi + 2], ax
mov byte [esi + 4], 1
mov eax, dword [edx + 0xc]
sub eax, 2
push eax
mov eax, dword [edx + 4]
add eax, 2
push eax
lea eax, [esi + 5]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x260]
add esp, 0xc
push eax
call fcn.0040d270
mov ecx, dword [ebp - 0x268]
cmp dword [ecx + 0x36c], 1
jne 0x40c8b1
push dword [ebp - 0x260]
call fcn.0041cbe0
mov esi, dword [ebp - 0x26c]
mov eax, dword [esi + 4]
test eax, eax
je 0x40c8c7
push eax
call fcn.0042b8a6
add esp, 4
push 0x10
push esi
call fcn.0042b893
mov eax, dword [edi + 4]
add esp, 8
test eax, eax
je 0x40c8e2
push eax
call fcn.0042b8a6
add esp, 4
push 0x10
push edi
call fcn.0042b893
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042b832
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
call fcn.0040d260
add eax, 0x217
lea ecx, [ebp - 0x2bc]
push eax
mov edx, str.An_error_occured_reading
call fcn.0040dbc0
push 0x430454
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e8]
call fcn.00401bd0
push 0x43dcb8
lea eax, [ebp - 0x2e8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
call fcn.0040d260
add eax, 0x22f
lea ecx, [ebp - 0x2bc]
push eax
mov edx, str.An_error_occured_reading_the_file_data_of_the_config_data_for
call fcn.0040dbc0
push 0x430454
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x300]
call fcn.00401bd0
push 0x43dcb8
lea eax, [ebp - 0x300]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
call fcn.0040d260
add eax, 0x22f
lea ecx, [ebp - 0x2bc]
push eax
mov edx, str.An_error_occured_reading_the_file_data_of_the_config_data_for
call fcn.0040dbc0
push 0x430454
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x318]
call fcn.00401bd0
push 0x43dcb8
lea eax, [ebp - 0x318]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00402390
int3