Function at 0x40b9f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43102d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea eax, [esp + 0x20]
push str._Y__m__d
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.00427d26
mov ecx, eax
call fcn.00427d68
mov ebx, dword [esp + 0x174]
lea ecx, [esp + 0x24]
push ebx
mov dword [esp + 0x16c], 0
call fcn.00428960
lea edx, [esp + 0x5c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x5c]
push 0x104
push edx
rep stosd dword es:[edi], eax
push eax
mov byte [esp + 0x174], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x5c]
push 0x5c
push eax
call fcn.0041bd80
mov byte [eax + 1], 0
mov edi, str.CapLog_
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x5c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.__________.
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
call fcn.0042802e
lea eax, [esp + 0x44]
lea edx, [esp + 0x5c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x174], 2
call fcn.00428960
mov ecx, ebp
call fcn.0040b700
mov eax, dword [esp + 0x4c]
xor esi, esi
test eax, eax
jle 0x40be13
mov edi, dword [esp + 0x170]
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x4c]
call fcn.0040b910
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push str.date
push ebx
push edx
mov ecx, 0x441320
mov byte [esp + 0x178], 3
call fcn.004161f0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x170], 4
call fcn.00428667
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.0040b940
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edx
push eax
call fcn.0041bda7
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setl byte [esp + 0x13]
call fcn.004288f2
mov al, byte [esp + 0x13]
test al, al
je 0x40bc05
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40bdc0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push str.del.
push edx
call fcn.00428baf
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0041c94d
add esp, 8
lea ecx, [esp + 0x30]
jmp 0x40bdbb
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428667
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.0040b940
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push eax
call fcn.0041bda7
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
setg byte [esp + 0x13]
call fcn.004288f2
mov al, byte [esp + 0x13]
push ecx
test al, al
mov ecx, esp
je 0x40bca7
lea edx, [esp + 0x18]
mov dword [esp + 0x20], esp
push edx
call fcn.00428667
lea eax, [esp + 0x38]
mov ecx, ebp
push eax
call fcn.0040b940
mov eax, dword [eax]
mov ecx, 0x441320
push eax
push str.date
push ebx
mov byte [esp + 0x174], 5
call fcn.004160d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 4
call fcn.004288f2
push 0
push 0x43b32c
push ebx
mov ecx, 0x441320
call fcn.004161a0
jmp 0x40bced
lea edx, [esp + 0x18]
mov dword [esp + 0x20], esp
push edx
call fcn.00428667
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call fcn.0040b940
mov eax, dword [eax]
mov ecx, 0x441320
push eax
push str.date
push ebx
mov byte [esp + 0x174], 6
call fcn.004160d0
lea ecx, [esp + 0x40]
mov byte [esp + 0x168], 4
call fcn.004288f2
mov ecx, dword [esp + 0x24]
push str.UPLOAD
push ecx
call fcn.0041bda7
add esp, 8
test eax, eax
jne 0x40bd1d
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428667
mov ecx, ebp
call fcn.0040c0e0
jmp 0x40bd37
push ebx
push edi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00428667
mov ecx, ebp
call fcn.0040be80
test eax, eax
je 0x40bdf1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428667
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.0040b940
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
push eax
call fcn.0041bda7
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
setne byte [esp + 0x13]
call fcn.004288f2
mov al, byte [esp + 0x13]
test al, al
je 0x40bdf1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40bdc0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push str.del.
push ecx
call fcn.00428baf
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push eax
push edx
call fcn.0041c94d
add esp, 8
lea ecx, [esp + 0x28]
call fcn.004288f2
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.004288f2
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 2
call fcn.004288f2
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jl 0x40bb47
jmp 0x40be13
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.004288f2
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 2
call fcn.004288f2
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
call fcn.004280c1
lea ecx, [esp + 0x44]
mov byte [esp + 0x168], 1
call fcn.00428061
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 0
call fcn.004288f2
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], 0xffffffff
call fcn.004288f2
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 8