Function at 0x424220
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x458f09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0xfc]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x108]
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0x100]
mov dword [ebp + 0x24], edx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x2c], ecx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x114]
mov edi, ecx
mov dword [esp + 0xf0], 0
mov eax, dword [edx]
lea ebx, [ebp + 0x30]
cmp eax, edi
mov dword [esp + 0x10], edi
jae 0x4242a0
mov dword [esp + 0x10], eax
mov edi, eax
lea edx, [esp + 0x10c]
cmp ebx, edx
jne 0x4242c6
push eax
push edi
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
push 0
push 0
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
jmp 0x42435c
test edi, edi
jbe 0x42431c
cmp edi, ecx
jne 0x42431c
mov esi, dword [esp + 0x110]
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test esi, esi
je 0x4242e0
mov eax, esi
cmp byte [eax - 1], 0xfe
jae 0x424323
push 1
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test esi, esi
je 0x4242fb
mov eax, esi
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x424363
mov esi, dword [esp + 0x110]
push 1
push edi
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x424363
test esi, esi
jne 0x42433c
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, edi
mov edi, dword [ebx + 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [esp + 0x110]
mov edx, dword [ebp + 0x24]
mov al, byte [esp + 0x11c]
mov ecx, 5
mov byte [ebp + 0x40], al
cmp edx, ecx
jae 0x42437c
mov dword [ebp + 0x24], ecx
mov cl, byte [ebp + 0x14]
test cl, cl
je 0x4243af
test esi, esi
je 0x4243a8
mov al, byte [esi - 1]
test al, al
je 0x42439e
cmp al, 0xff
je 0x42439e
dec al
mov byte [esi - 1], al
mov al, 1
jmp 0x424606
dec esi
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
jmp 0x424606
test al, al
je 0x4244d0
mov dl, 0x5c
mov al, 0x65
mov byte [esp + 0x2d], dl
mov byte [esp + 0x35], dl
mov dl, 0x69
mov cl, 0x6f
mov byte [esp + 0x37], dl
mov byte [esp + 0x40], dl
mov byte [esp + 0x18], dl
mov byte [esp + 0x2b], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x19], al
lea edx, [esp + 0x10]
mov byte [esp + 0x21], cl
mov byte [esp + 0x25], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x3a], cl
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x2c]
push edx
mov bl, 0x70
push eax
push connect
mov dword [esp + 0x5c], 0
mov dword [esp + 0x28], 4
mov byte [esp + 0x38], 0x43
mov byte [esp + 0x3a], 0x6e
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3c], 0x72
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x20
mov byte [esp + 0x40], 0x50
mov byte [esp + 0x41], 0x61
mov byte [esp + 0x42], 0x6e
mov byte [esp + 0x44], 0x6c
mov byte [esp + 0x46], 0x44
mov byte [esp + 0x48], 0x73
mov byte [esp + 0x49], 0x6b
mov byte [esp + 0x4a], 0x74
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4e], 0x57
mov byte [esp + 0x50], 0x6e
mov byte [esp + 0x51], 0x64
mov byte [esp + 0x53], 0x77
mov byte [esp + 0x54], 0x4d
mov byte [esp + 0x56], 0x74
mov byte [esp + 0x57], 0x72
mov byte [esp + 0x59], 0x63
mov byte [esp + 0x5a], 0x73
mov byte [esp + 0x5b], 0
mov byte [esp + 0x2c], 0x41
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x6c
mov byte [esp + 0x32], 0x64
mov byte [esp + 0x33], 0x44
mov byte [esp + 0x34], 0x50
mov byte [esp + 0x35], 0x49
mov byte [esp + 0x36], 0
call dword [0x467470]
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
xor edi, edi
push ecx
push 0xffffffffffffffff
push edi
mov word [esp + 0x7c], 0x9c
mov word [esp + 0x7e], di
call dword [0x467430]
test eax, eax
je 0x424598
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
cmp ecx, 0xa00
mov dword [ebp + 4], ecx
mov dword [ebp + 0x50], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0x54], eax
jle 0x424536
lea eax, [eax + eax*4]
mov dword [ebp + 4], 0xa00
shl eax, 9
cdq
idiv ecx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 4]
mov edx, ecx
and edx, reloc.WS2_32.dll_closesocket
jns 0x424548
dec edx
or edx, 0xfffffffc
inc edx
mov eax, dword [ebp + 0xc]
sub ecx, edx
imul eax, ecx
cdq
and edx, 7
mov dword [ebp + 4], ecx
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
imul eax, dword [ebp + 8]
shl eax, 2
mov dword [ebp], eax
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x424585
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x10], edi
mov eax, dword [ebp]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x4245be
cmp esi, edi
je 0x4245ba
mov al, byte [esi - 1]
test al, al
je 0x4245b0
cmp al, 0xff
je 0x4245b0
dec al
mov byte [esi - 1], al
xor al, al
jmp 0x424606
dec esi
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor al, al
jmp 0x424606
push edi
push edi
push edi
push 0x424040
push edi
push edi
mov byte [ebp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [ebp + 0x18], eax
je 0x4245e2
cmp eax, 0xffffffff
je 0x4245e2
mov bl, 1
jmp 0x4245e4
xor bl, bl
cmp esi, edi
je 0x424604
mov al, byte [esi - 1]
test al, al
je 0x4245fa
cmp al, 0xff
je 0x4245fa
dec al
mov byte [esi - 1], al
jmp 0x424604
dec esi
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 0x28