Function at 0x4138b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461e16
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4790bc]
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.004133d0
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 0x4139a5
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.00413380
mov eax, dword [ebp - 0x84]
cmp byte [eax + 0xd], 0
jne 0x41397b
mov cl, byte [esi]
cmp cl, byte [eax + 0xe]
jge 0x41397e
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x6c]
je 0x413997
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00413550
mov al, byte [eax]
test al, al
je 0x413997
mov byte [esi], al
inc esi
cmp esi, edi
jne 0x413950
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.0045f150
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.00411cb0
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 0x413bbd
lea ecx, [eax + 2]
push 2
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.004035c0
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 0x413c69
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0x22
je 0x413c5f
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], edx
cmp ecx, edx
jae 0x413ad1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x413ab8
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 0x413a30
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x413c5a
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x78], eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x413afb
mov esi, closesocket
jmp 0x413b19
mov ecx, edx
mov eax, closesocket
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x413b11
mov esi, closesocket
jmp 0x413b19
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 0x413b97
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 0x413b7a
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x413c2d
mov esi, edx
push ecx
push esi
call fcn.0045f2e0
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 0x413a30
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 0x413a30
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x413bed
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413be3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413c2d
push ecx
push edx
call fcn.0045f2e0
add esp, 8
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00413500
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x413c3d
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413c33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x413c33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045f2e0
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.0045f2ee
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