Function at 0x4037c0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467b85
mov eax, dword fs:[0]
push eax
sub esp, 0x128
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 esi, closesocket
mov eax, esi
sub eax, ecx
cmp eax, 0x16
jb 0x40408e
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x40380e
mov eax, dword [edi]
push 0x16
push str._config_loginusers.vdf
push ecx
push eax
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x104]
call fcn.00407d00
lea edx, [ebp - 0x104]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00401620
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xf0]
cmp ecx, 0xf
jbe 0x40387b
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403871
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403871
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 [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Moving_current_config_files_for
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
call fcn.00406f20
cmp dword [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
push dword [ebp - 0x48]
cmova edx, dword [ebp - 0x58]
mov ecx, eax
call fcn.00407e00
add esp, 4
mov edx, str._to
mov ecx, eax
call fcn.00406f20
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x4038d4
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00407e00
add esp, 4
mov edx, str._config_save_
mov ecx, eax
push 0x407140
call fcn.00406f20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [edi + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, 6
jb 0x404093
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x403914
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 byte [ebp - 4], 3
mov edx, dword [ebp - 0x90]
mov eax, edx
mov ecx, dword [ebp - 0x94]
sub eax, ecx
push 0x19
push 0x4783f8
cmp eax, 0x19
jb 0x40397c
cmp edx, 0xf
lea esi, [ebp - 0xa4]
lea eax, [ecx + 0x19]
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 + 0x19], 0
lea eax, [ebp - 0xa4]
jmp 0x403990
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0xa4]
push dword [ebp - 0x5c]
push 0x19
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], 4
mov edx, dword [ebp - 0x60]
mov eax, edx
mov ecx, dword [ebp - 0x64]
sub eax, ecx
cmp eax, 1
jb 0x4039f5
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 0x403a0d
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 - 0xac], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xa8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.00407170
mov ecx, eax
add esp, 4
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 6
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x1d
jb 0x403aaf
lea eax, [edx + 0x1d]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x403a93
mov eax, dword [ecx]
push 0x1d
lea esi, [eax + edx]
push 0x4783d8
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov byte [esi + 0x1d], 0
jmp 0x403ac4
push 0x1d
push 0x4783d8
mov byte [ebp - 0x5c], 0
push dword [ebp - 0x5c]
push 0x1d
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], 8
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x403b39
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403b2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c23
push ecx
push edx
call fcn.0046645c
add esp, 8
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0xf
jbe 0x403b92
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403b88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c23
push ecx
push edx
call fcn.0046645c
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x403be1
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403bd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c23
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], 0xb
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x403c33
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403c29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403c29
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 0x404098
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x403c6b
mov eax, dword [edi]
push ecx
push eax
push 6
push str.move__
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xec]
call fcn.00407d00
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xd8]
mov eax, edx
mov ecx, dword [ebp - 0xdc]
sub eax, ecx
push 0x15
push 0x478438
cmp eax, 0x15
jb 0x403cd3
cmp edx, 0xf
lea esi, [ebp - 0xec]
lea eax, [ecx + 0x15]
cmova esi, dword [ebp - 0xec]
add esi, ecx
mov dword [ebp - 0xdc], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x15], 0
lea eax, [ebp - 0xec]
jmp 0x403ce7
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0xec]
push dword [ebp - 0x5c]
push 0x15
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], 0xd
mov edx, dword [ebp - 0x78]
mov eax, edx
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
cmp eax, 1
jb 0x403d5b
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 0x403d76
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 - 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], 0xe
lea ecx, [ebp - 0x134]
call fcn.00407170
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xf
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x19
jb 0x403e12
lea eax, [ecx + 0x19]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x403df9
mov eax, dword [edi]
push 0x19
lea esi, [eax + ecx]
push 0x47841c
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x19], 0
jmp 0x403e2b
push 0x19
push 0x47841c
mov byte [ebp - 0x5c], 0
mov ecx, edi
push dword [ebp - 0x5c]
push 0x19
call fcn.004078e0
mov edi, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x120]
cmp ecx, 0xf
jbe 0x403e9c
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f80
push ecx
push edx
call fcn.0046645c
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x403ef1
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403ee7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f80
push ecx
push edx
call fcn.0046645c
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
cmp ecx, 0xf
jbe 0x403f3f
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403f35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f80
push ecx
push edx
call fcn.0046645c
add esp, 8
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x403f90
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403f86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403f86
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
call esi
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call esi
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp ecx, 0xf
jbe 0x403fe9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403fdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404063
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 0x40402b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404021
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404063
push ecx
push edx
call fcn.0046645c
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x404073
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404069
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404069
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