Function at 0x1003ad90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x101231d8
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xfc]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, 0xf
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xf8], 1
call fcn.10001d40
mov byte [esp + 0xf4], 2
test byte [esp + 0xb4], 0x30
jne 0x1003afdc
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x88]
push ecx
lea ecx, [esp + 0x68]
call fcn.100057a0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x80]
call fcn.10005880
lea edi, [esp + 0x5c]
call fcn.1002f460
cmp al, bl
je 0x1003afdc
push ecx
mov eax, esp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xac], ebx
mov esi, edi
mov dword [esp + 0x24], esp
mov dword [eax], str.us_upload_error_log_upload_result
call fcn.1002e420
cmp al, bl
je 0x1003afdc
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x1003aec9
cmp dword [esp + 0xa8], 1
jne 0x1003aec9
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x98], eax
xor edx, edx
cmp eax, ebx
setne dl
push ecx
mov eax, esp
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
lea esi, [esp + 0x60]
mov dword [esp + 0xac], edx
mov dword [esp + 0x24], esp
mov dword [eax], str.status
call fcn.1002e420
cmp al, bl
je 0x1003af4d
lea esi, [esp + 0x24]
lea edx, [esp + 0x5c]
call fcn.10001e10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x100], 3
call fcn.100057a0
mov edi, 0x10
mov byte [esp + 0xf4], 2
cmp dword [esp + 0x3c], edi
jb 0x1003af52
mov eax, dword [esp + 0x28]
push eax
call fcn.100f4085
add esp, 4
jmp 0x1003af52
mov edi, 0x10
xor ecx, ecx
cmp dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
setne cl
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
lea esi, [esp + 0x5c]
push ecx
mov eax, esp
mov dword [esp + 0xac], ecx
mov dword [esp + 0x24], esp
mov dword [eax], str.message
call fcn.1002e420
cmp al, bl
je 0x1003afd1
lea esi, [esp + 0x24]
lea edx, [esp + 0x5c]
call fcn.10001e10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x100], 4
call fcn.100057a0
mov byte [esp + 0xf4], 2
cmp dword [esp + 0x3c], edi
jb 0x1003afd1
mov edx, dword [esp + 0x28]
push edx
call fcn.100f4085
add esp, 4
lea eax, [esp + 0x5c]
call fcn.1002f400
jmp 0x1003afe1
mov edi, 0x10
lea ecx, [ebp + 0x88]
call fcn.100095b0
cmp dword [esp + 0xdc], ebx
jbe 0x1003b035
push 1
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xd4]
call fcn.100043c0
push 1
mov byte [esp + 0xf8], 5
mov ecx, dword [eax + 0x14]
push 0x1013ad74
push ecx
push ebx
mov ecx, eax
mov dword [esp + 0x2c], 1
call fcn.10005970
mov byte [esp + 0x1b], 1
test eax, eax
je 0x1003b039
mov byte [esp + 0x1b], bl
mov dword [esp + 0xf4], 2
test byte [esp + 0x1c], 1
je 0x1003b05e
cmp dword [esp + 0x3c], edi
jb 0x1003b05e
mov edx, dword [esp + 0x28]
push edx
call fcn.100f4085
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x1003b0ea
cmp dword [ebp + 0x18], ebx
jbe 0x1003b0ea
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov eax, dword [ebp]
cmp eax, ebx
jne 0x1003b097
call fcn.100f3f6c
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x1003b08a
call fcn.100f3f6c
mov esi, dword [esi + 8]
cmp dword [esi + 0x18], edi
jb 0x1003b09b
mov eax, dword [esi + 4]
jmp 0x1003b09e
mov eax, dword [eax]
jmp 0x1003b080
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [esi + 0x3c]
push edi
push ebp
call fcn.10040940
mov esi, eax
cmp esi, ebx
je 0x1003b0e5
push esi
call fcn.10038030
test al, al
je 0x1003b0e5
cmp dword [esi + 0x11c], 0x10
jb 0x1003b0d0
mov esi, dword [esi + 0x108]
jmp 0x1003b0d6
add esi, 0x108
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov eax, ebp
call fcn.10040840
mov edi, 0x10
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xf8], 1
call fcn.1002de20
cmp dword [esp + 0x58], edi
jb 0x1003b10f
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100f4085
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp dword [esp + 0xe0], edi
jb 0x1003b138
mov edx, dword [esp + 0xcc]
push edx
call fcn.100f4085
add esp, 4
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.100f30a6
add esp, 0xe4
ret 4