Function at 0x4040a0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467c22
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x47d400]
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 ecx, dword [edi + 0x10]
mov eax, closesocket
sub eax, ecx
cmp eax, 6
jb 0x4048ef
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4040ec
mov eax, dword [edi]
push ecx
push eax
push 6
push str.move__
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xa4]
call fcn.00407d00
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x90]
mov eax, edx
mov ecx, dword [ebp - 0x94]
sub eax, ecx
push 0x1e
push str.config_saveloginusers.vdf__
cmp eax, 0x1e
jb 0x404157
cmp edx, 0xf
lea esi, [ebp - 0xa4]
lea eax, [ecx + 0x1e]
cmova esi, dword [ebp - 0xa4]
add esi, ecx
mov dword [ebp - 0x94], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x1e], 0
lea eax, [ebp - 0xa4]
jmp 0x40416b
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0xa4]
push dword [ebp - 0x5c]
push 0x1e
call fcn.004078e0
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
mov eax, edx
mov ecx, dword [ebp - 0x64]
sub eax, ecx
cmp eax, 1
jb 0x4041d0
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
cmova eax, dword [ebp - 0x74]
mov word [eax + ecx], 0x22
lea eax, [ebp - 0x74]
jmp 0x4041e8
push 1
push 0x478360
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x74]
push dword [ebp - 0x5c]
push 1
call fcn.004078e0
mov dword [ebp - 0xc4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xc0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea edx, [ebp - 0xd4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.00407170
mov ecx, eax
add esp, 4
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 3
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x18
jb 0x40428a
lea eax, [edx + 0x18]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x40426e
mov eax, dword [ecx]
push 0x18
lea esi, [eax + edx]
push str.configloginusers.vdf__
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov byte [esi + 0x18], 0
jmp 0x40429f
push 0x18
push str.configloginusers.vdf__
mov byte [ebp - 0x5c], 0
push dword [ebp - 0x5c]
push 0x18
call fcn.004078e0
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf0]
cmp ecx, 0xf
jbe 0x404314
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40430a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4043fe
push ecx
push edx
call fcn.0046645c
add esp, 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0xf
jbe 0x40436d
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404363
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4043fe
push ecx
push edx
call fcn.0046645c
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x4043bc
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4043b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4043fe
push ecx
push edx
call fcn.0046645c
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x40440e
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404404
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404404
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
mov ecx, dword [edi + 0x10]
mov eax, closesocket
sub eax, ecx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp eax, 6
jb 0x4048f4
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x404446
mov eax, dword [edi]
push ecx
push eax
push 6
push str.move__
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xbc]
call fcn.00407d00
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xa8]
mov eax, edx
mov ecx, dword [ebp - 0xac]
sub eax, ecx
push 0x1a
push str.config_saveconfig.vdf__
cmp eax, 0x1a
jb 0x4044ae
cmp edx, 0xf
lea esi, [ebp - 0xbc]
lea eax, [ecx + 0x1a]
cmova esi, dword [ebp - 0xbc]
add esi, ecx
mov dword [ebp - 0xac], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x1a], 0
lea eax, [ebp - 0xbc]
jmp 0x4044c2
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x5c]
push 0x1a
call fcn.004078e0
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x78]
mov eax, edx
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
cmp eax, 1
jb 0x404536
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x8c]
cmova eax, dword [ebp - 0x8c]
mov word [eax + ecx], 0x22
lea eax, [ebp - 0x8c]
jmp 0x404551
push 1
push 0x478360
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x5c]
push 1
call fcn.004078e0
mov dword [ebp - 0xdc], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xd8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xdc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea edx, [ebp - 0xec]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x58]
call fcn.00407170
mov ecx, eax
add esp, 4
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 0xc
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x14
jb 0x4045f0
lea eax, [edx + 0x14]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x4045d4
mov eax, dword [ecx]
push 0x14
lea esi, [eax + edx]
push str.configconfig.vdf__
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov byte [esi + 0x14], 0
jmp 0x404605
push 0x14
push str.configconfig.vdf__
mov byte [ebp - 0x5c], 0
push dword [ebp - 0x5c]
push 0x14
call fcn.004078e0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x404674
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40466a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40475b
push ecx
push edx
call fcn.0046645c
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xd8]
cmp ecx, 0xf
jbe 0x4046c4
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4046ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40475b
push ecx
push edx
call fcn.0046645c
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x404716
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40470c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40475b
push ecx
push edx
call fcn.0046645c
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0xf
jbe 0x40476b
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404761
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404761
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmova eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
call esi
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call esi
mov eax, dword [edi + 0x10]
mov ecx, closesocket
sub ecx, eax
add esp, 8
cmp ecx, 0x16
jb 0x4048f9
cmp dword [edi + 0x14], 0xf
jbe 0x4047c6
mov edi, dword [edi]
push 0x16
push str._config_loginusers.vdf
push eax
push edi
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x11c]
call fcn.00407d00
lea edx, [ebp - 0x11c]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
call fcn.00401620
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x40482c
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404822
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404822
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x40485c
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404852
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4048c4
push ecx
push edx
call fcn.0046645c
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40488c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404882
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4048c4
push ecx
push edx
call fcn.0046645c
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x4048d4
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4048ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4048ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
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.0046641e
mov esp, ebp
pop ebp
ret
call fcn.004011b0
call fcn.004011b0
call fcn.004011b0
int3