Function at 0x4d2c46
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588f55
mov eax, dword fs:[0]
push eax
mov eax, 0x205c
call fcn.004fc580
mov eax, dword [0x602c60]
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 ecx, dword [0x606438]
lea eax, [ebp - 0x2014]
push eax
call fcn.004a9342
and dword [ebp - 4], 0
push 0x59ac08
mov ecx, eax
call fcn.00431e0c
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2014]
add ecx, 0xfffffff0
call fcn.004310e3
inc bl
je 0x4d3277
lea ecx, [ebp - 0x204c]
call fcn.00432a3a
mov dword [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x2014], esp
push str.2345.comurl.ini
call fcn.0043479c
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x2030], esp
push eax
lea ecx, [ebp - 0x204c]
call fcn.0049bb8c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x201c]
push eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x204c]
call fcn.0049be74
mov byte [ebp - 4], 6
push dword [ebp - 0x201c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d3256
mov ecx, dword [0x606438]
lea eax, [ebp - 0x2018]
push eax
call fcn.004a93fc
mov byte [ebp - 4], 7
push str.11319
lea ecx, [ebp - 0x2028]
call fcn.0043479c
mov byte [ebp - 4], 8
push 0x3f
push dword [ebp - 0x2018]
call fcn.004faab9
pop ecx
pop ecx
test eax, eax
je 0x4d2db0
mov ecx, dword [ebp - 0x2018]
sub eax, ecx
sar eax, 1
mov edx, eax
js 0x4d2db0
mov eax, dword [ecx - 0xc]
sub eax, edx
dec eax
push eax
lea eax, [ebp - 0x2014]
push eax
lea ecx, [ebp - 0x2018]
call fcn.004332b8
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x2028]
call fcn.00433c20
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2014]
add ecx, 0xfffffff0
call fcn.004310e3
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push eax
call fcn.004fc1f0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push dword [ebp - 0x201c]
lea eax, [ebp - 0x1010]
push 0x800
push eax
push 0x59a2c0
push 0x59a82c
mov esi, str.main
push esi
call edi
mov ecx, dword [0x606438]
lea eax, [ebp - 0x2014]
push eax
call fcn.004a939f
mov byte [ebp - 4], 0xb
push 0x59ac08
mov ecx, eax
call fcn.00431e0c
mov ebx, eax
neg ebx
sbb bl, bl
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2014]
add ecx, 0xfffffff0
call fcn.004310e3
inc bl
je 0x4d2e88
lea eax, [ebp - 0x1010]
push str.http:__www.2345.com__desk
push eax
call fcn.004fa866
pop ecx
pop ecx
test eax, eax
jne 0x4d2e88
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2028]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2018]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x201c]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x4d3268
push dword [ebp - 0x2018]
lea eax, [ebp - 0x1010]
push eax
call fcn.004fa866
pop ecx
pop ecx
test eax, eax
je 0x4d2eb8
push dword [ebp - 0x201c]
push dword [ebp - 0x2018]
push 0x59a82c
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x2010], ax
lea eax, [ebp - 0x200e]
push eax
call fcn.004fc1f0
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2014]
push str.2345_
push eax
call fcn.004b01ac
mov byte [ebp - 4], 0x11
push str._desk.exe
push eax
lea eax, [ebp - 0x2020]
push eax
call fcn.0043a8de
add esp, 0x24
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x2014]
add ecx, 0xfffffff0
call fcn.004310e3
push dword [ebp - 0x201c]
lea eax, [ebp - 0x2010]
push 0x800
push eax
push 0x59a2c0
mov ebx, str.filename
push ebx
push esi
call edi
push dword [ebp - 0x2020]
lea eax, [ebp - 0x2010]
push eax
call fcn.004fa866
pop ecx
pop ecx
test eax, eax
je 0x4d2f62
push dword [ebp - 0x201c]
push dword [ebp - 0x2020]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x2068]
call fcn.004a86e3
mov byte [ebp - 4], 0x15
push ecx
mov ecx, esp
mov dword [ebp - 0x2030], esp
push str.2345.com2345desk.exe
call fcn.0043479c
mov byte [ebp - 4], 0x16
push ecx
mov eax, esp
mov dword [ebp - 0x2050], esp
push eax
lea ecx, [ebp - 0x204c]
call fcn.0049bb8c
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x2014]
push eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x204c]
call fcn.0049be74
mov byte [ebp - 4], 0x18
push dword [eax]
lea ecx, [ebp - 0x2068]
call fcn.004b6e50
mov esi, eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x2014]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x4d2ffc
lea ecx, [ebp - 0x2068]
call fcn.004a16b2
push 0x10
lea ecx, [ebp - 0x2068]
mov esi, eax
call fcn.004a1690
test eax, eax
je 0x4d3005
test esi, esi
jne 0x4d2fde
jmp 0x4d30fe
lea eax, [ebp - 0x2014]
push eax
lea ecx, [ebp - 0x2068]
call fcn.004c157a
mov byte [ebp - 4], 0x1a
push dword [ebp - 0x2020]
lea ecx, [ebp - 0x2014]
call fcn.00431e0c
test eax, eax
je 0x4d30ec
push ecx
lea eax, [ebp - 0x2020]
mov ecx, esp
mov dword [ebp - 0x2050], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 0x1b
push ecx
mov esi, esp
mov dword [ebp - 0x2024], esp
push ecx
mov eax, esp
mov dword [ebp - 0x202c], esp
push eax
lea ecx, [ebp - 0x2068]
call fcn.004c94f3
mov byte [ebp - 4], 0x1c
push esi
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x204c]
call fcn.0049bc99
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x2030]
push eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x204c]
call fcn.0049be74
mov byte [ebp - 4], 0x1e
push ecx
lea eax, [ebp - 0x2030]
mov ecx, esp
mov dword [ebp - 0x202c], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 0x1f
push ecx
mov eax, esp
mov dword [ebp - 0x2024], esp
push eax
lea ecx, [ebp - 0x2068]
call fcn.004c94f3
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0x1e
call fcn.004cdc47
pop ecx
pop ecx
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x2030]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x2014]
add ecx, 0xfffffff0
call fcn.004310e3
push ecx
mov ecx, esp
mov dword [ebp - 0x202c], esp
push str.2345.com2345desktool.exe
call fcn.0043479c
mov byte [ebp - 4], 0x23
push ecx
mov eax, esp
mov dword [ebp - 0x2024], esp
push eax
lea ecx, [ebp - 0x204c]
call fcn.0049bb8c
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x2034]
push eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x204c]
call fcn.0049be74
mov byte [ebp - 4], 0x25
push dword [ebp - 0x2034]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d31ff
push ecx
mov eax, esp
mov dword [ebp - 0x202c], esp
lea ecx, [ebp - 0x2020]
push ecx
push str.2345.com_
push eax
call fcn.004b01ac
mov byte [ebp - 4], 0x26
add esp, 8
mov eax, esp
mov dword [ebp - 0x2024], esp
push eax
lea ecx, [ebp - 0x204c]
call fcn.0049bb8c
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x2014]
push eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x204c]
call fcn.0049be74
mov byte [ebp - 4], 0x28
push ecx
lea eax, [ebp - 0x2014]
mov ecx, esp
mov dword [ebp - 0x202c], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 0x29
push ecx
lea eax, [ebp - 0x2034]
mov ecx, esp
mov dword [ebp - 0x2024], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0x28
call fcn.004cdc47
pop ecx
pop ecx
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x2014]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x2034]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2068]
call fcn.004a8728
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2020]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2028]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2018]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x201c]
add ecx, 0xfffffff0
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204c]
call fcn.00432a92
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.004fb958
leave
ret