Function at 0x40b8e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x426a58
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push ebp
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x85c]
mov dword fs:[0], eax
push 0x3fe
lea eax, [esp + 0x45e]
push 0
push eax
mov word [esp + 0x464], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x200
lea ebx, [esp + 0x45c]
call fcn.00402770
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x458]
push ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x868], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push str.banner.jpg
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov edx, dword [esp + 0x10]
push edx
lea esi, [edi + 0x16f8]
push esi
call fcn.0040c440
test eax, eax
je 0x40b9f6
call fcn.0040c350
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x44f
mov ecx, edi
mov ebp, eax
call sub.MFC80U.DLL_Ordinal_2651
mov esi, eax
cmp esi, ebx
jne 0x40b9be
xor eax, eax
jmp 0x40b9c1
mov eax, dword [esi + 0x20]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x203
cmp esi, ebx
jne 0x40b9d7
xor ecx, ecx
jmp 0x40b9da
mov ecx, dword [esi + 0x20]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x20]
push ebp
push 2
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x458]
push ecx
lea ecx, [esp + 0x18]
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 str.banner.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x868], 1
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__]
mov edx, dword [0x4279f4]
mov ecx, dword [str.none]
mov si, word [0x4279f8]
xor eax, eax
push 0x3f6
mov dword [esp + 0x38], edx
mov dword [esp + 0x60], edx
lea edx, [esp + 0x66]
push ebx
push edx
mov dword [esp + 0x3c], ecx
mov word [esp + 0x44], si
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 dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
mov dword [esp + 0x64], ecx
mov word [esp + 0x6c], si
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x2c], 8
jae 0x40ba91
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0x427eb8
push str.ReferralLink
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x58]
push edx
lea ecx, [edi + 0x17c8]
call dword [0x4276d8]
lea ecx, [esp + 0x14]
mov byte [esp + 0x864], bl
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_]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x85c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.00422de8
add esp, 0x858
ret