Function at 0x46f770
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b45dc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov ecx, dword [0x65279c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
mov dword [ebp - 0x40], 0
mov ecx, edx
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f7e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.004060e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 7
cmova eax, dword [ebp - 0x50]
push eax
push 0
push str.scale
push str.dialconfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x46fa31
mov edx, dword [esi + 0x24]
lea ecx, [ebp - 0x28]
call fcn.00433f50
mov eax, dword [ebp - 0x28]
mov edi, 0x64
cmp eax, 0x780
jge 0x46f847
mov edi, 0x55
jmp 0x46f890
mov ecx, dword [ebp - 0x24]
jne 0x46f85b
cmp ecx, 0x438
jge 0x46f86a
mov edi, 0x55
jmp 0x46f890
cmp eax, 0xa00
jge 0x46f877
cmp ecx, 0x438
jl 0x46f872
cmp ecx, 0x5a0
jle 0x46f890
cmp eax, 0xa00
jne 0x46f888
cmp ecx, 0x5a0
jle 0x46f890
mov edi, 0x82
jmp 0x46f890
mov ecx, 0x82
cmovg edi, ecx
lea ecx, [ebp - 0x38]
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_void_]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov esi, dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
cmp edi, 0x64
jae 0x46f8fe
mov eax, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_void_]
lea ecx, [ebp - 0x60]
call eax
push 0x5ec5c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push ecx
push eax
mov eax, dword [sym.imp.utilities4.dll_public:_class_SOUI::SStringW___cdecl_SOUI::SStringW::Format_wchar_t_const__]
call eax
add esp, 0xc
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call dword [sym.imp.utilities4.dll_public:_class_SOUI::SStringW____thiscall_SOUI::SStringW::operator_class_SOUI::SStringW_const__]
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call esi
mov dword [ebp - 0x20], 0x5ec5d4
jmp 0x46f945
jbe 0x46f953
mov eax, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_void_]
lea ecx, [ebp - 0x2c]
call eax
push str._fT
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
push ecx
push eax
mov eax, dword [sym.imp.utilities4.dll_public:_class_SOUI::SStringW___cdecl_SOUI::SStringW::Format_wchar_t_const__]
call eax
add esp, 0xc
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call dword [sym.imp.utilities4.dll_public:_class_SOUI::SStringW____thiscall_SOUI::SStringW::operator_class_SOUI::SStringW_const__]
lea ecx, [ebp - 0x60]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call esi
mov dword [ebp - 0x20], str._eYLub
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], str._rN_u
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.utilities4.dll_public_virtual:_int___stdcall_SOUI::SStringW::IsEmpty_void_const]
test eax, eax
jne 0x46f99e
mov eax, dword [0x65279c]
lea ecx, [ebp - 0x38]
mov eax, dword [eax]
mov esi, dword [eax + 0x38]
call dword [sym.imp.utilities4.dll_public:_wchar_t_const____thiscall_SOUI::SStringW::operator_wchar_t_const__void_const]
push 0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [0x65279c]
push 0x5e1c70
push 0
push 0x37
push eax
push 0x5e1c70
push 0
call esi
cmp eax, 1
mov ecx, 0x64
cmovne edi, ecx
cmp dword [ebp - 0x3c], 7
lea esi, [ebp - 0x50]
lea ecx, [ebp - 0x2c]
cmova esi, dword [ebp - 0x50]
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_void_]
push edi
push 0x5df2e0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
push ecx
push eax
call dword [sym.imp.utilities4.dll_public:_class_SOUI::SStringW___cdecl_SOUI::SStringW::Format_wchar_t_const__]
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 7
call dword [sym.imp.utilities4.dll_public:_wchar_t_const____thiscall_SOUI::SStringW::operator_wchar_t_const__void_const]
push esi
push eax
push str.scale
push str.dialconfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
lea ecx, [ebp - 0x60]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call esi
mov eax, dword [ebp - 0x54]
add eax, 0x30
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp edi, eax
je 0x46fa2c
mov eax, dword [ebp - 0x54]
push 0
push 0
mov dword [ebp - 0x24], 8
push dword [eax + 0x304]
lea eax, [ebp - 0x24]
push eax
push 0x10
call dword [sym.imp.USER32.dll_BroadcastSystemMessageW]
lea ecx, [ebp - 0x38]
call esi
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x46fa67
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46fa5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fa85
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00560663
int3