Function at 0x40a473
Capabilities:
Delete file

Disassembly:
mov eax, 0x4235f4
call fcn.00410238
sub esp, 0x41c
mov eax, dword [0x42eb80]
push ebx
xor eax, ebp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x404], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x410], ebx
call fcn.0041cce2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x40c], eax
mov byte [ebp - 4], 1
call fcn.0041cce2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x408], eax
cmp dword [esi + 0x18], 0x10
mov byte [ebp - 4], 2
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], ebx
jb 0x40a502
mov eax, dword [esi + 4]
jmp 0x40a505
lea eax, [esi + 4]
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x40c]
push ecx
lea ecx, [ebp - 0x408]
push ecx
lea ecx, [ebp - 0x418]
push ecx
push eax
call fcn.00421905
cmp eax, ebx
je 0x40a544
cmp dword [ebp - 0x418], 3
jne 0x40a5ac
push 0x425130
lea ecx, [ebp - 0x408]
call fcn.00401698
lea ecx, [ebp - 0x350]
call fcn.004042ba
push ebx
push dword [ebp - 0x408]
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 3
call fcn.004044b1
cmp eax, ebx
lea ecx, [ebp - 0x350]
jne 0x40a629
call fcn.0040430a
cmp dword [ebp - 0x410], 0xa
jg 0x40a59d
inc dword [ebp - 0x410]
xor ebx, ebx
cmp ebx, 0x64
jge 0x40a5f3
mov ecx, dword [ebp - 0x414]
call fcn.00401e72
test eax, eax
je 0x40a5e5
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 2
call fcn.004042d5
mov ecx, dword [ebp - 0x408]
add ecx, 0xfffffff0
call fcn.00401237
mov ecx, dword [ebp - 0x40c]
add ecx, 0xfffffff0
call fcn.00401237
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f6e1
leave
ret 0xc
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x40a589
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 2
call fcn.004042d5
mov ecx, dword [ebp - 0x408]
add ecx, 0xfffffff0
call fcn.00401237
mov ecx, dword [ebp - 0x40c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401237
xor ebx, ebx
jmp 0x40a4b9
call fcn.0040430a
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 2
call fcn.004042d5
mov ecx, dword [ebp - 0x408]
add ecx, 0xfffffff0
call fcn.00401237
mov ecx, dword [ebp - 0x40c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401237
cmp dword [edi + 0x18], 0x10
lea ebx, [edi + 4]
jb 0x40a66a
mov eax, dword [ebx]
jmp 0x40a66c
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [edi + 0x18], 0x10
jb 0x40a67d
mov ecx, dword [ebx]
jmp 0x40a67f
mov ecx, ebx
cmp dword [esi + 0x18], 0x10
lea edi, [esi + 4]
jb 0x40a68c
mov eax, dword [edi]
jmp 0x40a68e
mov eax, edi
push ecx
push eax
xor eax, eax
push eax
push eax
push eax
call fcn.004048d1
add esp, 0x14
test eax, eax
je 0x40a6d2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x404]
cmp dword [eax + 0x18], 0x10
jb 0x40a6b9
mov eax, dword [ebx]
jmp 0x40a6bb
mov eax, ebx
cmp dword [esi + 0x18], 0x10
jb 0x40a6c3
mov edi, dword [edi]
push eax
xor eax, eax
push edi
push eax
push eax
push eax
call fcn.004048d1
add esp, 0x14
or dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x40a5c8
mov byte [ebp - 0x3fa], al
mov eax, dword [ebp - 0x404]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 4], 5
jb 0x40a6fb
mov eax, dword [ebx]
jmp 0x40a6fd
mov eax, ebx
push eax
push 0
push str.updatenum
mov esi, str.update
push esi
call fcn.00408a2c
mov edi, dword [ebp - 0x404]
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 0x418], eax
jb 0x40a726
mov eax, dword [ebx]
jmp 0x40a728
mov eax, ebx
push eax
push 0
push str.deletenum
push esi
call fcn.00408a2c
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 0x40c], eax
jb 0x40a746
mov eax, dword [ebx]
jmp 0x40a748
mov eax, ebx
push eax
push 0x15180
push str.statspan
push esi
call fcn.00408a2c
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 0x41c], eax
jb 0x40a767
mov ebx, dword [ebx]
push ebx
push 0x104
lea eax, [ebp - 0x230]
push eax
push 0x4244fc
push str.newver
push esi
call fcn.0040758a
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x36c]
call fcn.00402827
cmp dword [ebp - 0x354], 0x10
mov ecx, dword [ebp - 0x368]
mov byte [ebp - 4], 6
jae 0x40a7af
lea ecx, [ebp - 0x368]
mov eax, dword [ebp - 0x400]
cmp dword [eax + 0x18], 0x10
mov ebx, eax
jb 0x40a7c4
lea edi, [ebx + 4]
mov eax, dword [edi]
jmp 0x40a7cf
mov edi, dword [ebp - 0x400]
add edi, 4
mov eax, edi
push ecx
push eax
call fcn.00416187
push dword [ebp - 0x41c]
mov esi, eax
neg esi
lea eax, [ebp - 0x334]
sbb esi, esi
push 0x424824
push eax
neg esi
call fcn.004102bf
add esp, 0x14
test esi, esi
je 0x40acbd
lea ecx, [ebp - 0x428]
call fcn.00405cec
cmp dword [ebp - 0x354], 0x10
mov eax, dword [ebp - 0x368]
mov byte [ebp - 4], 7
jae 0x40a824
lea eax, [ebp - 0x368]
cmp dword [ebx + 0x18], 0x10
jb 0x40a82c
mov edi, dword [edi]
push eax
push edi
call fcn.00416187
test eax, eax
pop ecx
pop ecx
je 0x40a853
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x36c]
push eax
push ebx
call fcn.0040a003
and dword [ebp - 0x410], 0
mov byte [ebp - 0x3f9], 1
mov esi, dword [ebp - 0x410]
cmp esi, dword [ebp - 0x418]
mov ebx, dword [ebp - 0x404]
jge 0x40ab04
cmp byte [ebp - 0x3f9], 0
je 0x40acac
mov ecx, dword [ebp - 0x414]
call fcn.00401e72
test eax, eax
jne 0x40acac
mov byte [ebp - 0x28], al
lea edi, [ebp - 0x27]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
lea eax, [ebp - 0x28]
push str.plus_d
push eax
call fcn.004102bf
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
lea esi, [ebx + 4]
jb 0x40a8c5
mov eax, dword [esi]
jmp 0x40a8c7
mov eax, esi
push eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x12c]
push eax
mov ebx, 0x4244fc
push ebx
push 0x4250f0
lea eax, [ebp - 0x28]
push eax
call fcn.0040758a
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x3a4]
call fcn.00402827
mov eax, dword [ebp - 0x404]
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 8
jb 0x40a90f
mov eax, dword [esi]
jmp 0x40a911
mov eax, esi
push eax
push edi
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.name
lea eax, [ebp - 0x28]
push eax
call fcn.0040758a
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x388]
call fcn.00402827
mov eax, dword [ebp - 0x404]
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 9
jb 0x40a94f
mov eax, dword [esi]
jmp 0x40a951
mov eax, esi
push eax
push edi
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.func
lea eax, [ebp - 0x28]
push eax
call fcn.0040758a
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x3dc]
call fcn.00402827
mov eax, dword [ebp - 0x404]
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xa
jb 0x40a98f
mov eax, dword [esi]
jmp 0x40a991
mov eax, esi
push eax
push edi
lea eax, [ebp - 0x12c]
push eax
push ebx
push 0x4250dc
lea eax, [ebp - 0x28]
push eax
call fcn.0040758a
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x3f8]
call fcn.00402827
mov eax, dword [ebp - 0x404]
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xb
jb 0x40a9cf
mov eax, dword [esi]
jmp 0x40a9d1
mov eax, esi
push eax
push edi
lea eax, [ebp - 0x12c]
push eax
push ebx
push 0x4250d8
lea eax, [ebp - 0x28]
push eax
call fcn.0040758a
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x3c0]
call fcn.00402827
mov eax, dword [ebp - 0x404]
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xc
jb 0x40aa0d
mov esi, dword [esi]
push esi
push edi
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.gzip
lea eax, [ebp - 0x28]
push eax
call fcn.0040758a
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x350]
call fcn.00402827
push 3
mov byte [ebp - 4], 0xd
pop esi
xor edi, edi
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x3c0]
push eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x3a4]
push eax
call fcn.004097ce
cmp eax, edi
jne 0x40aaa4
cmp esi, edi
jle 0x40aa9d
mov ecx, dword [ebp - 0x414]
dec esi
call fcn.00401e72
cmp eax, edi
je 0x40aa40
jmp 0x40aaa4
mov byte [ebp - 0x3f9], 0
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x350]
call fcn.00401fc9
push edi
push esi
lea ecx, [ebp - 0x3c0]
call fcn.00401fc9
push edi
push esi
lea ecx, [ebp - 0x3f8]
call fcn.00401fc9
push edi
push esi
lea ecx, [ebp - 0x3dc]
call fcn.00401fc9
push edi
push esi
lea ecx, [ebp - 0x388]
call fcn.00401fc9
push edi
push esi
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 7
call fcn.00401fc9
inc dword [ebp - 0x410]
jmp 0x40a861
cmp byte [ebp - 0x3f9], 0
je 0x40acac
mov eax, dword [ebp - 0x424]
mov edi, dword [eax]
mov dword [ebp - 0x418], edi
cmp edi, dword [ebp - 0x424]
je 0x40ab9f
lea esi, [edi + 0xc]
cmp dword [esi + 0x18], 0x10
jb 0x40ab35
mov eax, dword [esi + 4]
jmp 0x40ab38
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x400]
call fcn.0040173a
lea ecx, [ebp - 0x400]
mov byte [ebp - 4], 0xe
call fcn.00407422
push 0
push str.psnetwork.dll
lea ecx, [ebp - 0x400]
call fcn.004043d5
cmp eax, 0xffffffff
jne 0x40ab7a
mov ecx, dword [ebp - 0x414]
add edi, 0x28
push edi
push esi
call fcn.00408bb0
mov ecx, dword [ebp - 0x400]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.00401237
lea ecx, [ebp - 0x418]
call fcn.00405b67
mov edi, dword [ebp - 0x418]
jmp 0x40ab1f
and dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x400]
cmp eax, dword [ebp - 0x40c]
jge 0x40aca5
push dword [ebp - 0x400]
xor eax, eax
mov byte [ebp - 0x28], 0
lea edi, [ebp - 0x27]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x28]
push str.delete_d
push eax
call fcn.004102bf
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
lea esi, [ebx + 4]
jb 0x40abec
mov eax, dword [esi]
jmp 0x40abee
mov eax, esi
push eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x12c]
push eax
push 0x4244fc
push str.name
lea eax, [ebp - 0x28]
push eax
call fcn.0040758a
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x388]
call fcn.00402827
cmp dword [ebx + 0x18], 0x10
mov byte [ebp - 4], 0xf
jb 0x40ac2d
mov esi, dword [esi]
push esi
push edi
lea eax, [ebp - 0x12c]
push eax
push 0x4244fc
push str.func
lea eax, [ebp - 0x28]
push eax
call fcn.0040758a
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x3a4]
call fcn.00402827
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x388]
push eax
mov byte [ebp - 4], 0x10
call fcn.00409048
push 0
push 1
lea ecx, [ebp - 0x3a4]
call fcn.00401fc9
push 0
push 1
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 7
call fcn.00401fc9
inc dword [ebp - 0x400]
jmp 0x40aba6
mov byte [ebp - 0x3fa], 1
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 6
call fcn.00406496
jmp 0x40acca
mov ebx, dword [ebp - 0x404]
mov byte [ebp - 0x3fa], 1
cmp dword [ebx + 0x18], 0x10
jb 0x40acd5
mov eax, dword [ebx + 4]
jmp 0x40acd8
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 1
lea ecx, [ebp - 0x36c]
call fcn.00401fc9
mov al, byte [ebp - 0x3fa]
jmp 0x40a5ca