Function at 0x4dc6b4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4dc6bc
push ecx
push ebx
push esi
push edi
mov esi, 0x504098
xor eax, eax
push ebp
push 0x4dd177
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24]
call fcn.004dc630
mov edx, dword [ebp - 0x24]
mov eax, 0x5040b4
call fcn.00404778
lea eax, [ebp - 8]
mov ecx, 0x4dd190
mov edx, dword [0x5040b4]
call fcn.00404a30
mov eax, 0x5040a8
mov ecx, 0x4dd1a8
mov edx, dword [0x5040b4]
call fcn.00404a30
mov eax, dword [ebp - 8]
call fcn.00409900
test al, al
jne 0x4dc753
push 0x10
mov ecx, 0x4dd1b8
mov edx, 0x4dd1c4
mov eax, dword [0x502bd0]
mov eax, dword [eax]
call fcn.00470044
mov eax, dword [0x502bd0]
mov eax, dword [eax]
call fcn.0046ffa0
jmp 0x4dd13c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4385b0]
call fcn.00438660
mov ebx, eax
push 0x4dd1ec
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4dd204
mov edx, 0x4dd218
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x28]
mov eax, 0x5040b0
call fcn.00404778
lea edx, [ebp - 0x2c]
mov eax, dword [0x5040b0]
call fcn.00408fc8
cmp dword [ebp - 0x2c], 0
jne 0x4dc7ac
mov eax, 0x5040b0
mov edx, 0x4dd1ec
call fcn.00404778
push 2
mov ecx, 0x4dd228
mov edx, 0x4dd218
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebp - 0x18], eax
push 0x4dd24c
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x4dd264
mov edx, 0x4dd218
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x30]
mov eax, 0x5040b8
call fcn.00404778
lea edx, [ebp - 0x34]
mov eax, dword [0x5040b8]
call fcn.00408fc8
cmp dword [ebp - 0x34], 0
jne 0x4dc80a
mov eax, 0x5040b8
mov edx, 0x4dd24c
call fcn.00404778
push 0x7c5
mov ecx, 0x4dd278
mov edx, 0x4dd218
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [0x5040bc], eax
mov eax, ebx
call fcn.00403898
push 0x4dd28c
push dword [0x5040b8]
push 0x4dd29c
lea edx, [ebp - 0x38]
mov eax, dword [0x5040bc]
call fcn.00409390
push dword [ebp - 0x38]
push 0x4dd2a8
mov eax, 0x5040c8
mov edx, 5
call fcn.00404aa4
mov byte [0x5040c0], 0
lea eax, [ebp - 0xc]
mov ecx, dword [0x5040b0]
mov edx, dword [0x5040b4]
call fcn.00404a30
lea edx, [ebp - 0x3c]
mov eax, dword [0x5040b0]
call fcn.00408fc8
cmp dword [ebp - 0x3c], 0
je 0x4dd13c
xor eax, eax
push ebp
push 0x4dc942
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00409900
test al, al
je 0x4dc8ba
mov eax, dword [ebp - 0xc]
call fcn.00404be4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x5040b0]
push eax
mov eax, dword [0x5040c8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4dbf9c]
call fcn.004dc034
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00427e1c
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x78], 0
jne 0x4dc930
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x98], 0
je 0x4dc930
push 0x40
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x98]
call fcn.00404be4
mov edx, eax
mov ecx, 0x4dd1b8
mov eax, dword [0x502bd0]
mov eax, dword [eax]
call fcn.00470044
lea eax, [ebp - 0x1c]
call fcn.0040f07c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dc96e
mov eax, dword [ebp - 0xc]
call fcn.00409900
test al, al
jne 0x4dc9b9
push 0x40
push 0x4dd2e0
push dword [0x5040b0]
push 0x4dd2fc
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404aa4
mov eax, dword [ebp - 0x40]
call fcn.00404be4
mov edx, eax
mov ecx, 0x4dd1b8
mov eax, dword [0x502bd0]
mov eax, dword [eax]
call fcn.00470044
jmp 0x4dd13c
xor eax, eax
push ebp
push 0x4dc9e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4385b0]
call fcn.00438660
mov dword [0x504088], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dc9f9
push 0x4dd32c
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x4dd338
mov edx, 0x4dd350
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x44]
call fcn.00409624
mov byte [0x5040c0], al
push 0x4dd360
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4dd370
mov edx, 0x4dd350
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx]
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.00402fac
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x14]
call fcn.00479334
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x4dd388
mov edx, 0x4dd350
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x4c]
mov eax, 0x5040a8
call fcn.00404778
lea edx, [ebp - 0x50]
mov eax, dword [0x5040a8]
call fcn.00479840
mov edx, dword [ebp - 0x50]
mov eax, 0x5040a8
call fcn.00404778
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x4dd398
mov edx, 0x4dd350
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x54]
mov eax, 0x5040ac
call fcn.00404778
lea edx, [ebp - 0x58]
mov eax, dword [0x5040ac]
call fcn.00479840
mov edx, dword [ebp - 0x58]
mov eax, 0x5040ac
call fcn.00404778
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404b30
je 0x4dcaf5
cmp byte [0x5040c0], 0
je 0x4dcaf5
mov dword [ebp - 4], 2
jmp 0x4dd13c
mov dl, 1
mov eax, dword [0x41c1c4]
call fcn.00403868
mov dword [0x504094], eax
mov dl, 1
mov eax, dword [0x41c1c4]
call fcn.00403868
mov dword [0x504090], eax
mov dl, 1
mov eax, dword [0x41c1c4]
call fcn.00403868
mov dword [esi], eax
mov dl, 1
mov eax, dword [0x41c1c4]
call fcn.00403868
mov dword [0x50409c], eax
mov dl, 1
mov eax, dword [0x41c1c4]
call fcn.00403868
mov dword [0x5040a0], eax
mov dl, 1
mov eax, dword [0x41c1c4]
call fcn.00403868
mov dword [0x5040a4], eax
push 0x4dd32c
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x4dd3ac
mov edx, 0x4dd350
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x5c]
call fcn.00409624
mov byte [0x5040c1], al
push 2
mov ecx, 0x4dd228
mov edx, 0x4dd350
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [0x5040cc], eax
mov ecx, dword [0x504094]
mov edx, 0x4dd3c0
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov ecx, dword [0x504090]
mov edx, 0x4dd3d0
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov ecx, dword [esi]
mov edx, 0x4dd3e4
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov ecx, dword [0x50409c]
mov edx, 0x4dd3f8
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov ecx, dword [0x5040a0]
mov edx, 0x4dd40c
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov ecx, dword [0x5040a4]
mov edx, 0x4dd424
mov eax, dword [0x504088]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov eax, 0x504088
call fcn.0040f07c
mov eax, dword [ebp - 0xc]
call fcn.00404be4
push eax
call sub.kernel32.dll_DeleteFileA
mov dl, 1
mov eax, dword [0x41c1c4]
call fcn.00403868
mov dword [0x50408c], eax
mov edx, dword [0x50408c]
mov eax, dword [0x5040b4]
call fcn.00479620
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.00402fac
mov edx, dword [ebp - 0x60]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
jl 0x4dcc8d
lea edx, [ebp - 0x64]
xor eax, eax
call fcn.00402fac
mov edx, dword [ebp - 0x64]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4dd0f8
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [esi]
call fcn.004210cc
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x20]
call fcn.00479840
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
call fcn.00408fc8
mov eax, dword [ebp - 0x6c]
push eax
lea edx, [ebp - 0x74]
xor eax, eax
call fcn.00402fac
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00408fc8
mov edx, dword [ebp - 0x70]
pop eax
call fcn.00404b30
jne 0x4dcd10
lea ecx, [ebp - 0x78]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0x78]
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4dd0ee
mov eax, dword [ebp - 0x20]
call fcn.00409900
test al, al
je 0x4dd0ee
lea ecx, [ebp - 0x80]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x7c]
mov eax, dword [0x5040a4]
call fcn.00420688
cmp dword [ebp - 0x7c], 0
je 0x4dd099
lea ecx, [ebp - 0x88]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov eax, dword [0x5040a4]
call fcn.00420688
mov eax, dword [ebp - 0x84]
call fcn.004094cc
sub eax, 1
jb 0x4dcd8d
je 0x4dce6f
dec eax
je 0x4dcfdf
jmp 0x4dd0ee
lea ecx, [ebp - 0x90]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x8c]
mov eax, dword [0x504094]
call fcn.00420688
mov eax, dword [ebp - 0x8c]
push eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x20]
call fcn.00479334
mov edx, dword [ebp - 0x94]
pop eax
call fcn.00404b30
jne 0x4dce33
lea ecx, [ebp - 0x98]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0x98]
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
jl 0x4dd0ee
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4dd0ee
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc eax
jne 0x4dd0ee
lea eax, [ebp - 0x9c]
mov ecx, 0x4dd434
mov edx, dword [ebp - 0x20]
call fcn.00404a30
mov edx, dword [ebp - 0x9c]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4dd0ee
lea ecx, [ebp - 0xa4]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
mov eax, dword [0x5040a0]
call fcn.00420688
cmp dword [ebp - 0xa0], 0
jne 0x4dcefb
lea ecx, [ebp - 0xa8]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0xa8]
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
jl 0x4dd0ee
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4dd0ee
lea ecx, [ebp - 0xb0]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
mov eax, dword [0x5040a0]
call fcn.00420688
mov eax, dword [ebp - 0xac]
call fcn.0040ca58
fstp qword [ebp - 0xb8]
wait
mov eax, dword [ebp - 0x20]
call fcn.0047927c
fcomp qword [ebp - 0xb8]
fnstsw ax
sahf
jb 0x4dcfa3
lea ecx, [ebp - 0xbc]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0xbc]
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
jl 0x4dd0ee
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4dd0ee
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc eax
jne 0x4dd0ee
lea eax, [ebp - 0xc0]
mov ecx, 0x4dd434
mov edx, dword [ebp - 0x20]
call fcn.00404a30
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4dd0ee
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x5040cc]
jl 0x4dd054
mov eax, dword [ebp - 0x20]
call fcn.00409900
test al, al
je 0x4dd021
lea ecx, [ebp - 0xc4]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0xc4]
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
jl 0x4dd0ee
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4dd0ee
mov eax, dword [ebp - 0x20]
call fcn.00409900
test al, al
je 0x4dd0ee
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc eax
jne 0x4dd0ee
lea eax, [ebp - 0xc8]
mov ecx, 0x4dd434
mov edx, dword [ebp - 0x20]
call fcn.00404a30
mov edx, dword [ebp - 0xc8]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4dd0ee
lea ecx, [ebp - 0xcc]
mov edx, ebx
mov eax, dword [esi]
call fcn.004204a8
mov edx, dword [ebp - 0xcc]
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x504094]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
jl 0x4dd0ee
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, eax
mov eax, dword [0x50408c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
dec ebx
cmp ebx, 0xffffffff
jne 0x4dcca0
cmp dword [0x5040a0], 0
je 0x4dd10b
mov eax, 0x5040a0
call fcn.0040f07c
cmp dword [0x5040a4], 0
je 0x4dd11e
mov eax, 0x5040a4
call fcn.0040f07c
mov eax, dword [0x504094]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4dd135
mov dword [ebp - 4], 3
jmp 0x4dd13c
mov dword [ebp - 4], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd17e
lea eax, [ebp - 0xcc]
mov edx, 5
call fcn.00404748
lea eax, [ebp - 0xb0]
mov edx, 0x25
call fcn.00404748
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404748
ret