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

Disassembly:
push 0xffffffffffffffff
push 0x464c62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdbc
mov eax, ecx
push ebx
mov ecx, dword [esp + 0xdd0]
mov dword [esp + 0x10], eax
mov dword [eax + 4], ecx
xor ebx, ebx
push ebp
xor eax, eax
push esi
cmp ecx, ebx
push edi
je 0x444315
mov dx, word [0x47a15c]
mov ecx, 0x31
lea edi, [esp + 0xd6]
mov word [esp + 0xd4], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x19e]
mov word [esp + 0x19c], dx
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.liveupdate.ini
stosw word es:[edi], ax
lea eax, [esp + 0x1a0]
push 0x47afc0
push eax
call esi
lea ecx, [esp + 0x19c]
lea edx, [esp + 0xd4]
push ecx
push 0x64
push edx
push str.home
push 0x46fdac
push str.coop
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x44]
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
call fcn.00404de0
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xd8]
push ecx
push edx
mov dword [esp + 0xde0], ebx
call fcn.004554ed
add esp, 0xc
test eax, eax
je 0x443a7e
mov ebp, 1
mov dword [esp + 0x14], ebp
lea eax, [esp + 0xd4]
push eax
call fcn.00404ff0
add esp, 4
lea ecx, [esp + 0xbc4]
push str.ListPreDef.dat
push 0x47afc0
push ecx
call esi
push str.ListUserDef.dat
lea edx, [esp + 0x3a8]
push 0x47afc0
push edx
call esi
push str.LibUserDef.dat
lea eax, [esp + 0x7b8]
push 0x47afc0
push eax
call esi
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x5ac]
push ecx
push str.list__s.dat
push 0x208
push edx
call fcn.00401c00
add esp, 0x10
lea eax, [esp + 0x5ac]
lea ecx, [esp + 0x9bc]
push eax
push 0x47afc0
push ecx
call esi
mov dl, byte [esp + 0x1b]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
mov byte [esp + 0x5c], dl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov al, byte [esp + 0x1b]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov cl, byte [esp + 0x1b]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x4c], dl
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
lea eax, [esp + 0x3a4]
mov byte [esp + 0xdd4], 4
push eax
xor edi, edi
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443b93
mov ecx, dword [esp + 0x1c]
push str.ListPreDef.dat
call fcn.00446470
test eax, eax
je 0x443b98
mov edi, 1
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x443be8
lea edx, [esp + 0xd4]
push str.home
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x443be8
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x5ac]
push eax
call fcn.00446470
mov esi, eax
cmp esi, ebx
je 0x443bdf
mov edi, 1
jmp 0x443be8
cmp edi, ebx
je 0x443be8
mov esi, 1
cmp ebp, ebx
je 0x443bf5
mov edi, 1
mov esi, edi
jmp 0x443bf9
cmp esi, ebx
je 0x443c54
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x9c0]
push edx
push eax
call fcn.00445ee0
cmp esi, 1
jne 0x443c43
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
xor eax, eax
cmp ecx, ebx
je 0x443c43
mov ebp, edx
sub ebp, ecx
sar ebp, 3
cmp eax, ebp
jae 0x443c43
mov ebp, dword [ecx + eax*8]
inc eax
mov dword [esp + ebp*4 + 0x84], 1
jmp 0x443c23
lea ecx, [esp + 0x5ac]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004465b0
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x3a4]
push edx
call ebp
test eax, eax
jne 0x443cce
lea eax, [esp + 0x7b4]
push eax
call ebp
test eax, eax
je 0x443cce
lea ecx, [esp + 0x6c]
call fcn.00409cb0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x7b4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0xde0], 5
call fcn.00407200
lea ecx, [esp + 0x74]
call fcn.0040a040
lea eax, [esp + 0x7b4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xdd4], 4
call fcn.00409d00
mov ebp, dword [esp + 0x1c]
jmp 0x443ce6
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3a4]
push ecx
push edx
mov ecx, ebp
call fcn.00445630
cmp edi, ebx
jne 0x443d0b
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x443d0b
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x8cf008d
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x443d2b
lea ecx, [esp + 0x20]
lea edx, [esp + 0xbc4]
push ecx
push edx
mov ecx, ebp
call fcn.00445630
push str.ListPreDef.dat
mov ecx, ebp
call fcn.004465b0
cmp esi, ebx
je 0x443f14
cmp esi, 1
jne 0x443e43
mov esi, dword [esp + 0x24]
xor ebp, ebp
xor ebx, ebx
test esi, esi
je 0x443da3
mov ecx, dword [esp + 0x28]
mov eax, 0x8cf008d
sub ecx, esi
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jae 0x443da3
mov ecx, dword [ebx + esi + 0x9a4]
lea edi, [ebx + esi]
mov eax, dword [esp + ecx*4 + 0x84]
test eax, eax
je 0x443d9a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x26
jne 0x443d96
mov edx, dword [edi + 0x9a0]
and edx, 0xfffffffd
or edx, 4
mov dword [edi + 0x9a0], edx
mov esi, dword [esp + 0x24]
inc ebp
add ebx, 0xe88
jmp 0x443d44
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp ebp, eax
je 0x443e47
mov dword [esp + 0x10], ebp
mov esi, 0xe88
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x26
jne 0x443e2d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x443e15
mov ebx, dword [esp + 0x38]
lea eax, [ebp + 0xe88]
cmp eax, ebx
je 0x443e00
mov edx, dword [esp + 0x10]
mov esi, eax
mov edi, edx
add eax, 0xe88
mov ecx, 0x3a2
add edx, 0xe88
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x443de2
mov ebx, dword [esp + 0x38]
lea eax, [ebx - 0xe88]
mov esi, 0xe88
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
jmp 0x443e39
mov eax, dword [ebp + 0x9a4]
mov ecx, dword [esp + eax*4 + 0x84]
test ecx, ecx
je 0x443e2d
or dword [ebp + 0x9a0], 4
mov eax, dword [esp + 0x10]
add ebp, esi
add eax, esi
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0x38]
jne 0x443dbc
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x443f18
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov eax, 0x8cf008d
imul ecx
mov eax, dword [esp + 0x14]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jae 0x443f18
mov edx, dword [esp + 0x50]
xor ebp, ebp
mov dword [esp + 0x10], ebp
lea edi, [ebx + edx]
mov dword [esp + 0x40], edi
test esi, esi
je 0x443ee3
mov ecx, dword [esp + 0x28]
mov eax, 0x8cf008d
sub ecx, esi
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jae 0x443ee3
lea ecx, [ebx + esi]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x443edc
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov ecx, 0x3a2
mov dword [esp + 0x10], 1
lea esi, [ebx + edx]
lea edi, [ebx + eax]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
inc ebp
jmp 0x443e8d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x443f00
mov ecx, dword [esp + 0x28]
push edi
push 1
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040ac10
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc ecx
add ebx, 0xe88
mov dword [esp + 0x14], ecx
jmp 0x443e4d
mov esi, dword [esp + 0x24]
xor edi, edi
cmp esi, edi
jne 0x443f22
xor edx, edx
jmp 0x443f39
mov ecx, dword [esp + 0x28]
mov eax, 0x8cf008d
sub ecx, esi
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
xor ecx, ecx
cmp edx, edi
sete cl
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
test ebp, ebp
je 0x444173
sub eax, ebp
mov ecx, eax
mov eax, 0x8cf008d
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
cmp eax, edx
jae 0x444173
mov ecx, dword [esp + 0x14]
xor edi, edi
add ecx, ebp
xor ebx, ebx
mov dword [esp + 0x40], ecx
test esi, esi
je 0x444109
mov ecx, dword [esp + 0x28]
mov eax, 0x8cf008d
sub ecx, esi
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, edx
jae 0x444109
add esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x443fcf
mov ebp, dword [esp + 0x40]
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x443fe0
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
inc edi
add ebx, 0xe88
jmp 0x443f8b
lea eax, [esi + 0x64]
mov ecx, ebp
sub ecx, eax
mov edx, 0x14
lea edi, [ecx + 0x64]
mov cx, word [edi + eax]
test cx, cx
je 0x444003
mov word [eax], cx
add eax, 2
dec edx
jne 0x443fef
jmp 0x444007
test edx, edx
jne 0x44400a
sub eax, 2
mov word [eax], 0
lea eax, [esi + 0x8c]
mov ecx, ebp
mov edx, 0x104
sub ecx, eax
lea edi, [ecx + 0x8c]
mov cx, word [edi + eax]
test cx, cx
je 0x444038
mov word [eax], cx
add eax, 2
dec edx
jne 0x444024
jmp 0x44403c
test edx, edx
jne 0x44403f
sub eax, 2
mov word [eax], 0
lea eax, [esi + 0x294]
mov ecx, ebp
mov edx, 0x104
sub ecx, eax
lea edi, [ecx + 0x294]
mov cx, word [edi + eax]
test cx, cx
je 0x44406d
mov word [eax], cx
add eax, 2
dec edx
jne 0x444059
jmp 0x444071
test edx, edx
jne 0x444074
sub eax, 2
mov word [eax], 0
lea eax, [esi + 0x49c]
mov ecx, ebp
mov edx, 0x104
sub ecx, eax
lea edi, [ecx + 0x49c]
mov cx, word [edi + eax]
test cx, cx
je 0x4440a2
mov word [eax], cx
add eax, 2
dec edx
jne 0x44408e
jmp 0x4440a6
test edx, edx
jne 0x4440a9
sub eax, 2
mov word [eax], 0
lea eax, [esi + 0x6a4]
mov ecx, ebp
mov edx, 0x104
sub ecx, eax
lea edi, [ecx + 0x6a4]
mov cx, word [edi + eax]
test cx, cx
je 0x4440d7
mov word [eax], cx
add eax, 2
dec edx
jne 0x4440c3
jmp 0x4440db
test edx, edx
jne 0x4440de
sub eax, 2
mov word [eax], 0
mov edx, dword [ebp + 0x99c]
mov dword [esi + 0x99c], edx
mov eax, dword [ebp + 0x9a4]
mov dword [esi + 0x9a4], eax
mov ecx, dword [ebp + 0x9a8]
mov dword [esi + 0x9a8], ecx
jmp 0x44414c
mov eax, dword [esp + 0x48]
test eax, eax
je 0x444121
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add edx, ebp
push edx
push 1
push eax
jmp 0x444143
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x26
je 0x44414c
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add eax, edx
push eax
push 1
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040ac10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
inc ecx
add eax, 0xe88
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
jmp 0x443f54
mov ecx, dword [esp + 0x1c]
call fcn.004438e0
mov ebp, dword [esp + 0xddc]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x444221
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, 0x8cf008d
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
cmp eax, edx
jae 0x444221
mov ecx, ebp
call fcn.0040b350
mov ebx, eax
cmp ebx, 0xffffffff
je 0x444206
mov edx, ebx
mov ecx, ebp
call fcn.0040b460
test eax, eax
je 0x4441fd
lea edi, [eax + 0x10]
test edi, edi
je 0x4441fd
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea esi, [edx + ecx]
mov ecx, 0x3a2
rep movsd dword es:[edi], dword [esi]
mov edx, ebx
mov ecx, ebp
call fcn.0040b190
jmp 0x444206
mov edx, ebx
mov ecx, ebp
call fcn.0040b270
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0xe88
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x444193
mov ecx, dword [esp + 0x1c]
call fcn.00443910
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp eax, eax
mov ebx, eax
je 0x444252
mov esi, eax
mov edi, edx
add eax, 0xe88
mov ecx, 0x3a2
add edx, 0xe88
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x444238
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
cmp eax, eax
mov ebx, eax
je 0x44427e
mov esi, eax
mov edi, edx
add eax, 0xe88
mov ecx, 0x3a2
add edx, 0xe88
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x444264
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], edx
push eax
mov edi, 1
call fcn.004535f0
mov ecx, dword [esp + 0x38]
xor esi, esi
push ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.004535f0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
push edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.004535f0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], esi
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.004535f0
mov eax, dword [esp + 0x54]
mov edx, dword [0x46f430]
add esp, 0x10
mov dword [esp + 0x60], esi
lea ecx, [eax - 0xc]
mov dword [esp + 0x64], esi
cmp ecx, edx
mov dword [esp + 0x68], esi
je 0x444313
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x444313
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xdcc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc8
ret 4