Function at 0x4b7fa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fa96
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1c]
mov ecx, eax
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x26c], eax
call fcn.00465070
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
test ebx, ebx
je 0x4b804c
mov ecx, ebx
call fcn.00465070
test eax, eax
je 0x4b804c
call fcn.004b7dc0
mov ecx, ebx
call fcn.00465070
mov edi, eax
xor esi, esi
test edi, edi
jle 0x4b815e
push 0
lea eax, [ebp - 0x268]
mov ecx, ebx
push eax
lea eax, [ebp - 0x26c]
push eax
push esi
call fcn.004c2060
test eax, eax
je 0x4b8042
push 0
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call fcn.00428a30
add esp, 0xc
inc esi
cmp esi, edi
jl 0x4b8010
jmp 0x4b815e
lea eax, [ebp - 0x218]
push eax
call fcn.00421100
push dword [ebp + 0x10]
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b7c90
add esp, 0x10
test eax, eax
jne 0x4b80a4
test edi, edi
jle 0x4b80a4
xor esi, esi
test edi, edi
jle 0x4b809e
mov ebx, dword [ebp - 0x26c]
push esi
mov ecx, ebx
call fcn.00464e40
push 0
push 0x590460
push dword [eax]
call fcn.00428a30
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4b8080
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp + 0x14], 0
jne 0x4b8159
lea eax, [ebp - 0x218]
push eax
push 1
push dword [0x55744c]
push dword [0x55e3d8]
call esi
test eax, eax
je 0x4b8159
push 1
lea eax, [ebp - 0x218]
push eax
push str.Personal
push SysReAllocString
call fcn.0041bc80
add esp, 0x10
test eax, eax
je 0x4b8159
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x58ffb0
push eax
call fcn.0048f340
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x550938]
push eax
call fcn.0048f340
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00415760
add esp, 0x28
test eax, eax
je 0x4b8159
lea eax, [ebp - 0x218]
push eax
push 1
push dword [0x55744c]
push dword [0x55e3d8]
call esi
sub eax, 1
je 0x4b839a
sub eax, 1
je 0x4b83bb
call fcn.004b7dc0
cmp dword [ebp + 8], 1
jne 0x4b8379
call fcn.00428fb0
test eax, eax
jne 0x4b81e1
push dword [ebp + 0x10]
push 0x590460
push 0x590360
call fcn.00428a30
mov esi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.00421100
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push 0
push str.EmulateDefaultPrinter
push dword [0x55e3d8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4b81e1
test esi, esi
jle 0x4b81e1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.004a87d0
add esp, 8
test eax, eax
je 0x4b81e1
push 0
lea eax, [ebp - 0x218]
push eax
push 0x590360
call fcn.00428ba0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x4b8379
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.00428ea0
add esp, 8
test eax, eax
je 0x4b8379
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 0
push 0
push eax
call fcn.0049c800
mov dword [ebp - 4], 0
mov ebx, 0x41
push 0x590360
call fcn.004294c0
add esp, 0xc
test eax, eax
je 0x4b8257
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ecx + 0x590360]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x4b8240
push dword [ebp - 0x268]
lea eax, [ebp - 0x218]
push eax
call fcn.00460bb0
push 0x4c
lea eax, [ebp - 0x264]
push 0
push eax
call fcn.00509680
add esp, 0x14
lea ecx, [ebp - 0x264]
push 0
push 6
call fcn.00464860
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push 0
mov dword [ebp - 0x264], 0x54ac1c
mov dword [ebp - 0x234], 0x546fe8
call fcn.00497c10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00465070
xor esi, esi
mov dword [ebp - 0x26c], eax
test eax, eax
jle 0x4b831e
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x264]
call fcn.00464e40
mov edi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x4b82eb
cmp word [ecx], 0
jne 0x4b8315
push ebx
push dword [ebp - 0x268]
lea eax, [ebp - 0x218]
push str._s_c
push eax
call fcn.00405510
lea eax, [ebp - 0x218]
inc ebx
push eax
push dword [edi]
call fcn.00460bb0
add esp, 0x18
inc esi
cmp esi, dword [ebp - 0x26c]
jl 0x4b82d0
mov byte [ebp - 4], 0
mov dword [ebp - 0x264], 0x54ac1c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x234], 0x546fe8
call fcn.00497e20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.004648f0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b8379
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
push 0x58f378
push 0x2f8b
call fcn.0048a770
add esp, 8
cmp eax, 6
je 0x4b83bb
call fcn.004b7eb0
jmp 0x4b815e
push 0
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.004b7c90
add esp, 0xc
jmp 0x4b815e