Function at 0x41ddc0
Capabilities:
Check if file exists
Copy file
Delete file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46a658
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b270]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x28], ebp
push str.fidgetminisite
lea ecx, [esp + 0x24]
call fcn.00402600
mov dword [esp + 0x44], 0
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41de1d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x17]
mov byte [esp + 0x44], 1
call fcn.0042e880
mov edx, dword [esp + 0x20]
mov eax, dword [str.http:__tqm.stnts.com:80_ws_index2.php]
push 0
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x54], 2
call fcn.00418910
test eax, eax
je 0x41e1c7
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00419c10
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x41de88
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401720
push str.minisite_tip
lea esi, [ebp + 0x10]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00401d80
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov eax, dword [esp + 0x30]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41decc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41e158
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41deee
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x2c], edi
push str._tmp2.zip
lea ecx, [esp + 0x20]
push esi
push ecx
mov byte [esp + 0x50], 3
call fcn.00401d80
push str.update_show.ini
lea edx, [esp + 0x40]
push esi
push edx
mov byte [esp + 0x5c], 4
call fcn.00401d80
add esp, 0x18
mov ebp, dword [eax]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
mov byte [esp + 0x44], 5
jge 0x41df58
push 0x400
lea ecx, [esp + 0x30]
call fcn.004017a0
mov edi, dword [esp + 0x2c]
push ebp
push 0x400
push edi
push 0x46eb20
push str.tippack
push str.Mini_Site
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x44], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00450e3f
add esp, 8
test eax, eax
jl 0x41e234
cmp eax, dword [edi - 8]
jg 0x41e234
mov ebp, dword [esp + 0x28]
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
mov ecx, dword [esp + 0x1c]
push ecx
push edi
mov ecx, ebp
call fcn.00418700
test eax, eax
je 0x41e181
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41dfed
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401720
mov eax, dword [esp + 0x1c]
cmp dword [eax - 4], 1
mov ebx, dword [esi]
jle 0x41e00a
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x20]
call fcn.00401720
mov eax, dword [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x1f]
call fcn.00422430
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.update_bodybg.png
lea edx, [esp + 0x28]
push esi
push edx
call fcn.00401d80
push str.minisite_tipimages_bodybg.png
lea eax, [esp + 0x40]
push esi
push eax
mov byte [esp + 0x5c], 6
call fcn.00401d80
add esp, 0x18
mov ecx, dword [esp + 0x24]
mov bl, 7
push ecx
mov byte [esp + 0x48], bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41e06f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str.minisite_tipindex.html
lea ecx, [esp + 0x38]
push esi
push ecx
call fcn.00401d80
add esp, 0xc
mov ecx, dword [ebp + 0x10c]
mov edx, dword [ebp + 0x108]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 0x60]
push edx
push eax
mov byte [esp + 0x50], 8
call fcn.0042cc80
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x44], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e0c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x44], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e0e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x44], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e10e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x44], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [esp + 0x44], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e154
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ebp, dword [esp + 0x28]
cmp dword [esp + 0x38], 0
je 0x41e3b1
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e23e
push 0x80004005
call fcn.00401090
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x44], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e1a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [esp + 0x44], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e1c7
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea ecx, [esp + 0x17]
mov byte [esp + 0x44], 1
call fcn.00404fc0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x44], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e1fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x44], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e21e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0x80070057
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
push str.update_bodybg.png
lea ecx, [esp + 0x28]
push esi
push ecx
mov byte [esp + 0x50], 9
call fcn.00401d80
push str.minisite_tipimages_bodybg.png
lea edx, [esp + 0x3c]
push esi
push edx
mov byte [esp + 0x5c], 0xa
call fcn.00401d80
push str.update_show.ini
lea eax, [esp + 0x54]
push esi
mov bl, 0xb
push eax
mov byte [esp + 0x68], bl
call fcn.00401d80
add esp, 0x24
mov esi, dword [eax]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
mov byte [esp + 0x44], 0xc
jge 0x41e2be
push 0x400
lea ecx, [esp + 0x34]
call fcn.004017a0
mov edi, dword [esp + 0x30]
push esi
push 0x400
push edi
push 0x46eb20
push str.background
push str.Mini_Site
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e2fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00450e3f
add esp, 8
test eax, eax
jl 0x41e234
cmp eax, dword [edi - 8]
jg 0x41e234
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
mov ecx, dword [esp + 0x24]
push ecx
push edi
mov ecx, ebp
call fcn.00418700
test eax, eax
je 0x41e346
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x44], 0xa
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e36b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x44], 9
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e390
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
or edx, 0xffffffff
lea ecx, [edi + 0xc]
mov byte [esp + 0x44], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3b1
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea ecx, [esp + 0x17]
mov byte [esp + 0x44], 1
call fcn.00404fc0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x44], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e40c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret