Function at 0x1003e8a0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x1006d70c
call fcn.10055640
sub esp, 0x314
push esi
xor esi, esi
push esi
call fcn.10036722
test al, al
pop ecx
jne 0x1003e8e1
cmp dword [ebp + 0x14], esi
je 0x1003e8da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.User_does_not_appear_to_be_online__error_code___d
push dword [ebp + 0x14]
call fcn.1002e038
add esp, 0xc
xor al, al
jmp 0x1003ec38
push ebx
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.1003de56
pop ecx
push 7
pop ebx
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], ebx
call fcn.1000205b
lea eax, [ebp - 0x80]
push eax
push edi
mov dword [ebp - 4], esi
call fcn.1003e16c
test al, al
pop ecx
pop ecx
jne 0x1003e930
cmp dword [ebp + 0x14], esi
je 0x1003e923
push str.WARNING:_Could_not_determine_local_dc_client_version.
push dword [ebp + 0x14]
call fcn.1002e038
pop ecx
pop ecx
push 0x10074514
lea ecx, [ebp - 0x80]
call fcn.10004249
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], ebx
call fcn.1000205b
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], ebx
call fcn.1000205b
push edi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.10005748
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 3
call fcn.1003e6d4
add esp, 0x10
test al, al
je 0x1003e99d
xor eax, eax
cmp eax, dword [ebp - 0x50]
sbb al, al
inc al
mov byte [ebp - 0xd], al
jne 0x1003e99d
xor eax, eax
cmp eax, dword [ebp - 0x34]
sbb al, al
inc al
mov byte [ebp - 0xd], al
jne 0x1003e99d
and byte [ebp - 0xd], 0
jmp 0x1003e9a1
mov byte [ebp - 0xd], 1
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.1000289a
cmp byte [ebp - 0xd], 0
je 0x1003e9d3
cmp dword [ebp + 0x14], esi
je 0x1003e9cc
push str.ERROR:_Could_not_get_dc_client_version_from_server.
push dword [ebp + 0x14]
call fcn.1002e038
pop ecx
pop ecx
xor bl, bl
jmp 0x1003ec16
push esi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x84], ebx
call fcn.1000205b
lea eax, [ebp - 0x9c]
push eax
push edi
mov byte [ebp - 4], 4
call fcn.10042ab5
test al, al
pop ecx
pop ecx
jne 0x1003ea03
xor bl, bl
jmp 0x1003ec09
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.1000205b
lea eax, [ebp - 0x2c]
push eax
push edi
mov byte [ebp - 4], 5
call fcn.10042c66
test al, al
pop ecx
pop ecx
je 0x1003ebfd
lea eax, [ebp - 0x320]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1003ea50
lea eax, [ebp - 0x320]
push 0x1007dcd0
push eax
call fcn.100564d6
pop ecx
pop ecx
push esi
call fcn.10056b94
push eax
call fcn.100570fd
call fcn.1005710a
push eax
lea eax, [ebp - 0x118]
push str._08x_ksf
push eax
call fcn.10056928
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.100564ac
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x1c
lea eax, [ebp - 0x320]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1003e432
test al, al
pop ecx
pop ecx
jne 0x1003eab4
cmp byte [ebp + 0x10], al
je 0x1003ebfd
cmp dword [ebp + 0x14], esi
je 0x1003eb47
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xd4]
push 0x1007e03c
push eax
call fcn.1000e483
push str._from
push eax
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 6
call fcn.1000e4d3
lea ecx, [ebp - 0x80]
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], bl
call fcn.1000e51f
add esp, 0x24
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 8
jb 0x1003eb0e
mov eax, dword [eax + 4]
jmp 0x1003eb11
add eax, 4
push eax
push dword [ebp + 0x14]
call fcn.1002e038
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0xb8]
call fcn.1000289a
push 1
lea ecx, [ebp - 0xf0]
call fcn.1000289a
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 5
call fcn.1000289a
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x1003eb53
lea eax, [ebp - 0x44]
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x320]
push eax
push ebx
call fcn.1003dec5
add esp, 0x10
test al, al
je 0x1003ebd8
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1003eb7a
lea eax, [ebp - 0x28]
push dword [ebp + 0x14]
push 1
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.1003e490
add esp, 0x10
test al, al
je 0x1003ebd8
lea eax, [ebp - 0x64]
push eax
push ebx
call fcn.1003e142
cmp dword [ebp - 0x84], 8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x98]
jae 0x1003ebb4
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1003ebc0
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.10058d9b
test eax, eax
pop ecx
pop ecx
je 0x1003ebd4
push ebx
call fcn.1003de15
pop ecx
mov bl, 1
jmp 0x1003ebff
cmp dword [ebp + 0x14], esi
je 0x1003ebee
push ebx
push str.WARNING:_Failed_to_get_the_upgrade____s.
push dword [ebp + 0x14]
call fcn.1002e038
add esp, 0xc
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1003ebfa
lea eax, [ebp - 0x28]
push eax
call edi
xor bl, bl
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000289a
push 1
lea ecx, [ebp - 0x9c]
call fcn.1000289a
push 1
lea ecx, [ebp - 0x48]
call fcn.1000289a
push 1
lea ecx, [ebp - 0x64]
call fcn.1000289a
push 1
lea ecx, [ebp - 0x80]
call fcn.1000289a
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret