Function at 0x40f0c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d236
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4730bc]
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, dword [ebp + 8]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x70], 0
movaps xmm0, xmmword [str.998877665544332abbccddeeff_1223Object_not_Initialized]
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x20], 0x662f3132
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0x64656566
mov dword [ebp - 0x18], 0x62636364
mov word [ebp - 0x14], 0x6162
call fcn.0040ebe0
mov edx, dword [ebp + 0x20]
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
lea esi, [ebp + 0xc]
cmp edx, 0x10
mov byte [ebp - 4], 2
cmovae eax, ecx
add eax, dword [ebp + 0x1c]
cmp edx, 0x10
cmovae esi, ecx
cmp esi, eax
je 0x40f1b5
mov edi, eax
nop
mov al, byte [esi]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040eb90
mov eax, dword [ebp - 0x84]
cmp byte [eax + 0xd], 0
jne 0x40f18b
mov cl, byte [esi]
cmp cl, byte [eax + 0xe]
jge 0x40f18e
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x6c]
je 0x40f1a7
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040ed60
mov al, byte [eax]
test al, al
je 0x40f1a7
mov byte [esi], al
inc esi
cmp esi, edi
jne 0x40f160
mov edx, dword [ebp + 0x20]
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp + 0xc]
cmp edx, 0x10
lea eax, [ebp + 0xc]
cmovae eax, ecx
lea ecx, [ebp + 0xc]
add eax, dword [ebp + 0x1c]
cmp edx, 0x10
push eax
cmovae ecx, dword [ebp + 0xc]
push ecx
call fcn.0045a950
mov dword [edi + 0x10], 0
add esp, 8
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0x1c]
mov ecx, edi
shr eax, 1
push eax
mov dword [ebp - 0x70], 1
call fcn.0040d480
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov ecx, dword [ebp + 0x20]
lea eax, [ebp + 0xc]
mov esi, dword [ebp + 0xc]
cmp ecx, 0x10
mov byte [ebp - 4], 3
cmovae eax, esi
nop word [eax + eax]
cmp ecx, 0x10
lea edx, [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
cmovae edx, esi
add ecx, edx
cmp eax, ecx
jae 0x40f3cd
lea ecx, [eax + 2]
push 2
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.004028c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x34], 0x10
lea esi, [ebp - 0x48]
mov dword [ebp - 0x54], eax
cmovae esi, dword [ebp - 0x48]
mov dword [eax], 0
lea eax, [ebp - 0x74]
push 0x10
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp esi, dword [ebp - 0x74]
je 0x40f479
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0x22
je 0x40f46f
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], edx
cmp ecx, edx
jae 0x40f2e1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x40f2c8
mov eax, dword [edi]
add eax, ecx
mov ecx, dword [ebp - 0x60]
mov byte [eax + 1], 0
mov byte [eax], cl
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0xc]
jmp 0x40f240
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x40f46a
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x78], eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x40f30b
mov esi, closesocket
jmp 0x40f329
mov ecx, edx
mov eax, closesocket
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x40f321
mov esi, closesocket
jmp 0x40f329
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
mov ecx, edi
push eax
call fcn.00401530
cmp dword [ebp - 0x58], 0x10
mov ecx, dword [ebp - 0x78]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x64]
mov dword [edi + 0x14], esi
mov dword [ebp - 0x54], eax
push ecx
lea esi, [eax + ecx]
mov dword [ebp - 0x64], esi
jb 0x40f3a7
mov esi, dword [edi]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov byte [eax], cl
mov ecx, dword [ebp - 0x58]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x40f38a
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x40f43d
mov esi, edx
push ecx
push esi
call fcn.0045aae6
mov eax, dword [ebp - 0x54]
add esp, 8
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x7c]
jmp 0x40f240
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov eax, dword [ebp - 0x54]
mov byte [esi], cl
mov byte [esi + 1], 0
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x7c]
jmp 0x40f240
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x40f3fd
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f3f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f43d
push ecx
push edx
call fcn.0045aae6
add esp, 8
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.0040ed10
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x40f44d
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f443
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f443
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045aae6
add esp, 8
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.0045aaf4
mov esp, ebp
pop ebp
ret
call fcn.00401460
push str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
push str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__
int3