Function at 0x403bc6
Capabilities:
Get common file path
Hide graphical window
Read .ini file
Read and send data from client to server
Send data
Send data on socket

Disassembly:
mov eax, 0x40e552
call fcn.0040dca0
sub esp, 0x6d8
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
je 0x404441
cmp eax, 5
jne 0x403d7d
push 0x4125a4
push 0x415b20
call fcn.00409d3d
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x2c], edi
push eax
mov ecx, esi
mov dword [ebp - 0x28], edi
call fcn.00408971
push 1
cmp eax, edi
pop ebx
je 0x403d41
cmp dword [ebp - 0x28], edi
ja 0x403d41
jb 0x403c36
cmp dword [ebp - 0x2c], 0x100000
jae 0x403d41
mov al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
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 edi, 0x412594
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
and dword [ebp - 4], 0
lea ecx, [esi + 0x254]
push dword [eax]
lea eax, [ebp - 0x1c]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x1c]
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 al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edi, [esi + 0x264]
mov ecx, edi
mov dword [ebp - 4], ebx
push dword [eax]
lea eax, [ebp - 0x1c]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esi + 0x26c], 0x40
ja 0x403d29
cmp byte [esi + 0x23a], 0
je 0x403d29
mov dword [esi + 0x291], 7
mov edi, dword [edi + 4]
test edi, edi
jne 0x403d01
mov edi, 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]
push 0x40
lea eax, [esi + 0x29d]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
and byte [esi + 0x2dc], 0
add esp, 0xc
lea eax, [esi + 0x285]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x403d38
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]
push ebx
push eax
mov ecx, esi
call fcn.00406c92
push ebx
push dword [esi + 0x3a0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0xffd]
push 0x200
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x412580
push 0x1ff
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0xc
jmp 0x40437b
cmp eax, 3
jne 0x403ed9
push 0x412568
push 0x415b20
call fcn.00409d3d
mov al, byte [ebp + 0xf]
pop ecx
pop ecx
mov byte [ebp - 0x1c], al
push 0
lea ecx, [ebp - 0x1c]
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 edi, 0x412540
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x254]
mov dword [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x1c]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
or dword [ebp - 4], 0xffffffff
push 1
pop ebx
lea ecx, [ebp - 0x1c]
push 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 al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edi, [esi + 0x264]
mov ecx, edi
mov dword [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x1c]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esi + 0x26c], 0x40
ja 0x403e94
cmp byte [esi + 0x23a], 0
je 0x403e94
mov dword [esi + 0x291], 7
mov edi, dword [edi + 4]
test edi, edi
jne 0x403e6c
mov edi, 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]
push 0x40
lea eax, [esi + 0x29d]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
and byte [esi + 0x2dc], 0
add esp, 0xc
lea eax, [esi + 0x285]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x403ea3
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]
push ebx
push eax
mov ecx, esi
call fcn.00406c92
push ebx
push dword [esi + 0x3a0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0xffd]
push 0x200
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x412520
jmp 0x403d69
push 6
pop ebx
cmp eax, ebx
jne 0x404037
push 0x412508
push 0x415b20
call fcn.00409d3d
mov al, byte [ebp + 0xf]
pop ecx
pop ecx
mov byte [ebp - 0x1c], al
push 0
lea ecx, [ebp - 0x1c]
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 edi, 0x4124e0
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x254]
mov dword [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x1c]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
or dword [ebp - 4], 0xffffffff
push 1
pop ebx
lea ecx, [ebp - 0x1c]
push 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 al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edi, [esi + 0x264]
mov ecx, edi
mov dword [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x1c]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esi + 0x26c], 0x40
ja 0x403ff2
cmp byte [esi + 0x23a], 0
je 0x403ff2
mov dword [esi + 0x291], 7
mov edi, dword [edi + 4]
test edi, edi
jne 0x403fca
mov edi, 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]
push 0x40
lea eax, [esi + 0x29d]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
and byte [esi + 0x2dc], 0
add esp, 0xc
lea eax, [esi + 0x285]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x404001
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]
push ebx
push eax
mov ecx, esi
call fcn.00406c92
push ebx
push dword [esi + 0x3a0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0xffd]
push 0x200
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x4124c0
jmp 0x403d69
cmp eax, 0x16
jne 0x40418f
push 0x4124a4
push 0x415b20
call fcn.00409d3d
mov al, byte [ebp + 0xf]
pop ecx
pop ecx
mov byte [ebp - 0x1c], al
push 0
lea ecx, [ebp - 0x1c]
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 edi, 0x41247c
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x254]
mov dword [ebp - 4], ebx
push dword [eax]
lea eax, [ebp - 0x1c]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
or dword [ebp - 4], 0xffffffff
push 1
pop ebx
lea ecx, [ebp - 0x1c]
push 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 al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edi, [esi + 0x264]
mov ecx, edi
mov dword [ebp - 4], 7
push dword [eax]
lea eax, [ebp - 0x1c]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esi + 0x26c], 0x40
ja 0x40414a
cmp byte [esi + 0x23a], 0
je 0x40414a
mov dword [esi + 0x291], 7
mov edi, dword [edi + 4]
test edi, edi
jne 0x404122
mov edi, 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]
push 0x40
lea eax, [esi + 0x29d]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
and byte [esi + 0x2dc], 0
add esp, 0xc
lea eax, [esi + 0x285]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x404159
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]
push ebx
push eax
mov ecx, esi
call fcn.00406c92
push ebx
push dword [esi + 0x3a0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0xffd]
push 0x200
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x412454
jmp 0x403d69
push dword [ebp + 0xc]
push 0x412440
push 0x415b20
call fcn.00409d3d
mov eax, dword [ebp + 0xc]
add esp, 0xc
cdq
push edx
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
mov dword [ebp - 0x28], edx
call fcn.0040635b
mov ebx, eax
mov al, byte [ebp + 0xf]
mov dword [ebp - 4], 8
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
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 edi, 0x41242c
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 9
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x254]
mov byte [ebp - 4], 0xa
push dword [edx]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x3c]
pop ebx
mov byte [ebp - 4], 9
push 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_]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x2c]
push eax
call fcn.0040635b
mov dword [ebp - 0x28], eax
mov al, byte [ebp + 0xf]
mov dword [ebp - 4], 0xb
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edi, [esi + 0x264]
mov byte [ebp - 4], 0xd
push dword [ecx]
mov ecx, edi
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esi + 0x26c], 0x40
ja 0x404336
cmp byte [esi + 0x23a], 0
je 0x404336
mov dword [esi + 0x291], 7
mov edi, dword [edi + 4]
test edi, edi
jne 0x40430e
mov edi, 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]
push 0x40
lea eax, [esi + 0x29d]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
and byte [esi + 0x2dc], 0
add esp, 0xc
lea eax, [esi + 0x285]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x404345
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]
push ebx
push eax
mov ecx, esi
call fcn.00406c92
lea ebx, [esi + 0xffd]
push 0x200
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 0xc]
push 0x412414
push 0x1ff
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
mov dword [0x4158e8], 0x2539
mov dword [0x4158ec], 0x210
mov eax, dword [esi + 0x3ac]
and dword [0x4158f8], 0
push 0x200
mov edi, 0x415900
push 0
push edi
mov dword [0x4158f0], eax
mov dword [0x4158f4], 3
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
push str._C27_s_C00
push 0x1ff
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea edi, [esi + 0x3b0]
push 2
pop ebx
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x404420
mov ecx, dword [0x4158ec]
push 0
add ecx, 8
push ecx
push 0x4158e8
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x404407
cmp eax, 4
jae 0x404420
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x4123f0
push 0x415b20
call fcn.00409d3d
add esp, 0xc
add edi, 0x10c
dec ebx
jne 0x4043de
mov ecx, esi
call fcn.004095a1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
push dword [esi + 0x3ac]
push 0x4123dc
push 0x415b20
call fcn.00409d3d
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x384], 0x64
push 1
pop ebx
push dword [esi + 0x2e4]
mov byte [esi + 0x5d4], bl
push dword [esi + 0x2e0]
call fcn.004063d6
mov al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
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 edi, 0x4123d0
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x3c]
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__::assign_char_const___unsigned_int_]
mov al, byte [ebp + 0xf]
mov dword [ebp - 4], 0xe
push 0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
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 edi, 0x412244
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x4c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [0x415b00]
mov ecx, esi
cdq
push edx
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
push eax
call fcn.0040635b
mov dword [ebp - 0x28], eax
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 0x10
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x5c], al
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 edi, 0x4123cc
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x5c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [0x415b04]
mov ecx, esi
cdq
push edx
push eax
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
push eax
call fcn.0040635b
mov dword [ebp + 0xc], eax
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 0x12
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
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 edi, 0x4123c4
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0xac]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
push dword [ebp - 0x28]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0xbc]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x17
push ecx
push eax
lea eax, [ebp - 0xcc]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x3c
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x254]
mov byte [ebp - 4], 0x18
push dword [edx]
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x17
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x16
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x14
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x13
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 byte [ebp - 4], 0x12
push ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x3c]
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 [esi + 0x258]
test eax, eax
jne 0x4046a2
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]
push 0
push eax
mov ecx, esi
call fcn.00406c92
mov al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x4123d0
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x4123d0
lea ecx, [ebp - 0x1c]
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__::assign_char_const___unsigned_int_]
mov al, byte [ebp + 0xf]
mov dword [ebp - 4], 0x19
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x5c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x4123c0
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x4123c0
lea ecx, [ebp - 0x5c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [0x415b00]
mov ecx, esi
cdq
push edx
push eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x1a
push eax
call fcn.0040635b
mov dword [ebp - 0x28], eax
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 0x1b
push 0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x4123cc
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x4123cc
lea ecx, [ebp - 0x4c]
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__::assign_char_const___unsigned_int_]
mov eax, dword [0x415b04]
mov ecx, esi
cdq
push edx
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x1c
push eax
call fcn.0040635b
mov dword [ebp + 0xc], eax
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 0x1d
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x3c]
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__::assign_char_const___unsigned_int_]
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
push ecx
push eax
lea eax, [ebp - 0xac]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
push dword [ebp - 0x28]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x21
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x22
push ecx
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x3c
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edi, [esi + 0x264]
mov byte [ebp - 4], 0x23
push dword [ecx]
mov ecx, edi
push 0
push eax
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x22
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x21
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x20
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x1f
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1d
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1b
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 byte [ebp - 4], 0x1a
push ebx
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x19
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esi + 0x26c], 0x40
ja 0x404917
cmp byte [esi + 0x23a], 0
je 0x404917
mov dword [esi + 0x291], 7
mov edi, dword [edi + 4]
test edi, edi
jne 0x4048ef
mov edi, 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]
push 0x40
lea eax, [esi + 0x29d]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
and byte [esi + 0x2dc], 0
add esp, 0xc
lea eax, [esi + 0x285]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esi + 0x2e8]
test eax, eax
je 0x40492a
mov al, byte [eax + 4]
mov byte [esi + 0x23e], al
cmp byte [esi + 0x23e], 0
je 0x40494b
push 0
push 0xf020
push 0x112
push dword [esi + 0x3a0]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x2e0]
or eax, dword [esi + 0x2e4]
je 0x404985
mov eax, dword [esi + 0x2e8]
test eax, eax
je 0x404985
mov eax, dword [eax + 0x1b8c]
test eax, eax
je 0x40497a
push dword [esi + 0x384]
mov ecx, eax
call fcn.00401e76
mov ecx, dword [esi + 0x2e8]
call fcn.0040b7a7
and byte [ebp - 0x2d4], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x2d3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x2d4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
and byte [ebp - 0x6e4], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x6e3]
push dword [esi + 0x3ac]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x2d4]
push eax
push str._s_patch__d.pkg
lea eax, [ebp - 0x6e4]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [esi + 0x3b8]
add esp, 0x14
and byte [ebp + 0xf], 0
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 2
mov edi, 0x415900
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], 0xffffffff
je 0x404afa
push dword [esi + 0x3ac]
mov ecx, esi
push eax
lea eax, [ebp - 0x6e4]
push eax
call fcn.00408c5a
push dword [ebp - 0x24]
test al, al
push dword [esi + 0x3ac]
je 0x404a58
push 0x412384
push 0x415b20
call fcn.00409d3d
add esp, 0x10
mov dword [0x4158f4], 2
mov byte [ebp + 0xf], bl
jmp 0x404a99
push 0x412358
push 0x415b20
call fcn.00409d3d
push 0x200
push 0
push edi
mov dword [0x4158f4], 3
call sub.MSVCRT.dll_memset
add esp, 0x1c
push 0x412328
push 0x1ff
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0xc
and byte [ebp - 0x1d], 0
mov dword [0x4158e8], 0x2539
mov dword [0x4158ec], 0x210
mov eax, dword [esi + 0x3ac]
and dword [0x4158f8], 0
mov dword [0x4158f0], eax
mov eax, dword [ebp - 0x24]
push 0
push 0x218
push 0x4158e8
push dword [eax - 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x404ae1
cmp eax, 4
jae 0x404afa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x412310
push 0x415b20
call fcn.00409d3d
add esp, 0xc
add dword [ebp - 0x24], 0x10c
dec dword [ebp - 0x28]
jne 0x404a08
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.._resdl.cfg
push 0
push str.counter
push str.share
call edi
push str.._resdl.cfg
push 0
inc eax
push str.rand
push str.share
mov dword [ebp - 0x24], eax
call edi
and byte [ebp - 0x5e0], 0
push 0x40
mov dword [ebp - 0x28], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x5df]
rep stosd dword es:[edi], eax
push dword [ebp - 0x24]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4122e8
lea eax, [ebp - 0x5e0]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x5e0]
push str.._resdl.cfg
push eax
push str.counter
push str.share
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
and byte [ebp - 0x3d8], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x3d7]
push dword [esi + 0x3ac]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4122e8
lea eax, [ebp - 0x3d8]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x3d8]
push str.._resdl.cfg
push eax
push str.curid
push str.share
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [ebp + 0xf], 0
je 0x404429
cmp byte [ebp - 0x1d], 0
je 0x404429
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jl 0x404c82
cmp eax, 3
jg 0x404c82
and byte [ebp - 0x4dc], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x4db]
push dword [esi + 0x3ac]
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push 0x4122e8
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4dc]
push 0x104
push eax
call ebx
and byte [ebp - 0x1d0], 0
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x1cf]
push 0x40
pop ecx
rep stosd dword es:[edi], eax
push dword [ebp - 0x24]
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.pkg_d
lea eax, [ebp - 0x1d0]
push 0x104
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x4dc]
push str.._resdl.cfg
push eax
lea eax, [ebp - 0x1d0]
push eax
jmp 0x404ccf
cmp eax, dword [ebp - 0x28]
jne 0x404cda
and byte [ebp - 0x1d0], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x1cf]
push dword [esi + 0x3ac]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4122e8
lea eax, [ebp - 0x1d0]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x1d0]
push str.._resdl.cfg
push eax
push str.pkgr
push str.share
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edi, 0x415b20
xor ebx, ebx
push 0x4122b4
push edi
mov dword [esi + 0x3ac], ebx
call fcn.00409d3d
pop ecx
mov dword [esi + 0x5d0], ebx
pop ecx
push ebx
push 0x3e8
push dword [esi + 0x388]
push dword [esi + 0x3a0]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x4122a4
push edi
call fcn.00409d3d
pop ecx
pop ecx
jmp 0x404430