Function at 0x442f40
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e87f4
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x52965c]
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 + 0xc]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00474bb0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ldslds.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443699
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x4436b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 4], 0
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x4436c1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov edx, dword [ebp - 0x2b8]
mov edi, 1
mov ecx, edi
mov byte [ebp - 4], 2
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x443062
push 0x104
lea ecx, [ebp - 0x2b8]
call fcn.00404800
mov edx, dword [ebp - 0x2b8]
cmp dword [edx - 8], 0x104
jl 0x4436cb
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
mov dword [edx - 0xc], 0x104
mov eax, dword [ebp - 0x2b8]
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push 0x4f34a8
push 0x4f91a8
push 0x4fcdb4
call ebx
mov eax, dword [ebp - 0x2b8]
push dword [eax - 8]
push eax
call fcn.00490b94
mov edx, eax
add esp, 8
test edx, edx
js 0x4436cb
mov ecx, dword [ebp - 0x2b8]
cmp edx, dword [ecx - 8]
jg 0x4436cb
mov dword [ecx - 0xc], edx
or esi, 0xffffffff
mov eax, dword [ebp - 0x2b8]
xor ecx, ecx
mov word [eax + edx*2], cx
mov edx, dword [ebp - 0x2b8]
cmp dword [edx - 0xc], ecx
jne 0x443268
mov eax, dword [edx - 8]
mov ecx, edi
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x44311c
push 0x104
lea ecx, [ebp - 0x2b8]
call fcn.00404800
mov edx, dword [ebp - 0x2b8]
cmp dword [edx - 8], 0x104
jl 0x4436d5
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x2b8]
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push 0x4f34a8
push 0x4fcdb8
push 0x4fcdb4
call ebx
mov eax, dword [ebp - 0x2b8]
push dword [eax - 8]
push eax
call fcn.00490b94
mov edx, eax
add esp, 8
test edx, edx
js 0x4436cb
mov ecx, dword [ebp - 0x2b8]
cmp edx, dword [ecx - 8]
jg 0x4436cb
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2b8]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x2b8]
cmp dword [eax - 0xc], ecx
je 0x4432eb
push 0xfde9
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0041c6e0
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 3
lea eax, [ecx + 1]
mov dword [ebp - 0x2c0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4431c8
sub ecx, dword [ebp - 0x2c0]
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004136b0
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x4431ff
push eax
call fcn.0048faa8
add esp, 4
push str._PanMing
lea ecx, [ebp - 0x2c0]
call fcn.00407070
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00421030
mov edx, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443251
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c4]
push eax
call fcn.004138e0
jmp 0x4432eb
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x2c0]
call fcn.00407070
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00467e70
add esp, 0xc
mov ecx, dword [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 6
call fcn.004138e0
mov edx, dword [ebp - 0x2d0]
mov eax, esi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4432ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c0]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4432eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x4436df
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp - 0x2bc], edx
mov eax, dword [edx - 8]
mov ecx, edi
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 7
jge 0x443333
push 0x104
lea ecx, [ebp - 0x2bc]
call fcn.00404800
mov edx, dword [ebp - 0x2bc]
cmp dword [edx - 8], 0x104
jl 0x4436e9
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x2bc]
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push 0x4f34a8
push 0x4fce04
push 0x4fcdb4
call ebx
mov eax, dword [ebp - 0x2bc]
push dword [eax - 8]
push eax
call fcn.00490b94
mov edx, eax
add esp, 8
test edx, edx
js 0x4436cb
mov ecx, dword [ebp - 0x2bc]
cmp edx, dword [ecx - 8]
jg 0x4436cb
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2bc]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x2bc]
cmp dword [ecx - 0xc], 0
jne 0x44352e
mov eax, dword [ecx - 8]
sub edi, dword [ecx - 4]
sub eax, 0x104
or eax, edi
jge 0x4433e3
push 0x104
lea ecx, [ebp - 0x2bc]
call fcn.00404800
mov ecx, dword [ebp - 0x2bc]
cmp dword [ecx - 8], 0x104
jl 0x4436f3
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [ebp - 0x2bc]
mov word [eax + 0x208], dx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push 0x4f34a8
push 0x4fce0c
push 0x4fcdb4
call ebx
mov eax, dword [ebp - 0x2bc]
push dword [eax - 8]
push eax
call fcn.00490b94
mov edx, eax
add esp, 8
test edx, edx
js 0x4436cb
mov ecx, dword [ebp - 0x2bc]
cmp edx, dword [ecx - 8]
jg 0x4436cb
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2bc]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x2bc]
cmp dword [eax - 0xc], ecx
je 0x4435b5
push 0xfde9
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0041c6e0
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 8
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443490
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004136b0
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 7
cmp eax, ecx
je 0x4434c3
push eax
call fcn.0048faa8
add esp, 4
push str._PanMing
lea ecx, [ebp - 0x2c0]
call fcn.00407070
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00421030
mov edx, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443515
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2c4]
push eax
mov ecx, edi
call fcn.004138e0
jmp 0x4435bb
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x2c0]
call fcn.00407070
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00467e70
add esp, 0xc
mov edi, dword [ebp - 0x2c8]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xb
call fcn.004138e0
mov edx, dword [ebp - 0x2d0]
mov eax, esi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443592
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c0]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4435bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4435bb
mov edi, dword [ebp - 0x2c8]
mov eax, dword [ebp - 0x2cc]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4435d8
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4435d8
mov edi, 1
jmp 0x4435da
xor edi, edi
mov edx, dword [ebp - 0x2bc]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4435fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x443639
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44362f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4436fd
push edx
push ecx
call fcn.0045e5ee
add esp, 8
mov edx, dword [ebp - 0x2c4]
mov eax, esi
mov dword [ebp - 0x220], 0
add edx, 0xfffffff0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443675
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x443697
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0045e5d8
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
push 0x80070057
call fcn.004043b0
push 0x80070057
call fcn.004043b0
push 0x80004005
call fcn.004043b0
push 0x80070057
call fcn.004043b0
push 0x80070057
call fcn.004043b0
call fcn.0048f8f3
int3