Function at 0x403440
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x42413c
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0xa48], eax
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0xa54]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa68]
mov ecx, dword [str.none]
mov edx, dword [0x4279f4]
mov si, word [0x4279f8]
mov dword [esp + 8], eax
xor eax, eax
push 0x3f6
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x654], ecx
push eax
lea ecx, [esp + 0x662]
push ecx
mov dword [esp + 0x38], edx
mov word [esp + 0x3c], si
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov word [esp + 0x5a], ax
mov dword [esp + 0x660], edx
mov word [esp + 0x664], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.PicLink
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x1fe
lea edx, [esp + 0x456]
push 0
mov dword [esp + 0xa64], 0
push edx
mov word [esp + 0x45c], 0
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0xa70]
push 0xa
push 0x100
lea eax, [esp + 0x464]
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__itow_s]
add esp, 0x1c
test eax, eax
lea ecx, [esp + 0xc]
je 0x40356a
mov dword [esp + 0xa5c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x403741
lea edx, [esp + 0x450]
push edx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [edi + 0x50], 8
jb 0x403583
mov eax, dword [edi + 0x3c]
jmp 0x403586
lea eax, [edi + 0x3c]
cmp dword [esp + 0x24], 8
mov ecx, dword [esp + 0x10]
jae 0x403595
lea ecx, [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x200
lea eax, [esp + 0x658]
push eax
lea edx, [esp + 0x34]
push edx
push ecx
push str.ReferralPics
call esi
lea ecx, [esp + 0x28]
lea eax, [esp + 0x650]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4035e7
test dx, dx
je 0x4035e3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4035e7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4035c1
xor eax, eax
jmp 0x4035ec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40360c
lea ecx, [esp + 0xc]
mov dword [esp + 0xa5c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x403741
mov eax, dword [str.none]
mov ecx, dword [0x4279f4]
mov dx, word [0x4279f8]
push 0x3f6
mov dword [esp + 0x54], eax
lea eax, [esp + 0x5e]
push 0
push eax
mov dword [esp + 0x60], ecx
mov word [esp + 0x64], dx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 0x50], 8
jb 0x40364a
mov eax, dword [edi + 0x3c]
jmp 0x40364d
lea eax, [edi + 0x3c]
push eax
push 0x200
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x34]
push edx
push str.RefPicServer
push str.ReferralPicServer
call esi
lea ecx, [esp + 0x28]
lea eax, [esp + 0x50]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403697
test dx, dx
je 0x403693
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403697
add eax, 4
add ecx, 4
test dx, dx
jne 0x403671
xor eax, eax
jmp 0x40369c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4036f1
push eax
call dword [sym.imp.MSVCR80.dll__time64]
push eax
call dword [sym.imp.MSVCR80.dll_srand]
add esp, 8
call dword [sym.imp.MSVCR80.dll_rand]
and eax, 0x80000001
jns 0x4036c3
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x4036d9
push str.http:__www.zbshareware.com
push 0x200
lea eax, [esp + 0x58]
push eax
jmp 0x4036e8
push str.http:__www.zbshareware.net
push 0x200
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
mov esi, dword [esp + 8]
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call dword [0x4276d8]
cmp word [esp + 0x650], 0x2f
je 0x40371a
push 0x427eb4
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [esp + 0x650]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [esp + 0xc]
mov dword [esp + 0xa5c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0xa54]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xa48]
xor ecx, esp
call fcn.00422de8
add esp, 0xa58
ret 8