Function at 0x475320
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x475328
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x4757b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.00403380
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x20]
call fcn.0040b6cc
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.00474a44
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x20]
call fcn.00410a5c
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 8]
mov ecx, dword [0x479c18]
call fcn.004059b8
mov eax, dword [ebp - 8]
call fcn.0040b334
test al, al
jne 0x4753bc
mov eax, dword [0x479c4c]
call fcn.00471264
test al, al
jne 0x4753bc
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00403380
mov eax, dword [ebp - 0x4c]
call fcn.004056b8
mov ecx, 1
xor edx, edx
call fcn.0047022c
jmp 0x47578c
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x20]
call fcn.00410a5c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
mov ecx, dword [0x479c24]
call fcn.004059b8
mov eax, dword [ebp - 0xc]
call fcn.0040b334
test al, al
je 0x4753f5
push 1
xor ecx, ecx
mov edx, 0x4757d0
mov eax, dword [ebp - 0xc]
call fcn.00470d20
xor esi, esi
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x20]
call fcn.00410a5c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x10]
mov ecx, dword [0x479c28]
call fcn.004059b8
mov eax, dword [ebp - 0x10]
call fcn.0040b334
test al, al
je 0x475430
push 1
xor ecx, ecx
mov edx, 0x4757f0
mov eax, dword [ebp - 0x10]
call fcn.00470d20
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x20]
call fcn.00410a5c
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x14]
mov ecx, dword [0x479c2c]
call fcn.004059b8
mov eax, dword [ebp - 0x14]
call fcn.0040b334
test al, al
je 0x47551d
xor eax, eax
push ebp
push 0x475513
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
call fcn.00410a5c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x24]
mov ecx, dword [0x479c30]
call fcn.004059b8
mov eax, dword [ebp - 0x24]
call fcn.0040b334
test al, al
je 0x4754a2
mov eax, dword [ebp - 0x24]
call fcn.004056b8
push eax
call sub.kernel32.dll_LoadLibraryW
mov esi, eax
mov eax, dword [ebp - 0x14]
call fcn.004056b8
push eax
call sub.kernel32.dll_LoadLibraryW
mov ebx, eax
test ebx, ebx
je 0x475509
push 0x4757fc
push ebx
call fcn.00407ba4
mov edi, eax
push 0x475820
push ebx
call fcn.00407ba4
mov dword [ebp - 0x3c], eax
push 0x475840
push ebx
call fcn.00407ba4
mov dword [ebp - 0x40], eax
test edi, edi
je 0x4754e7
push 0
call edi
cmp dword [ebp - 0x3c], 0
je 0x4754f0
call dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 0
je 0x4754f9
call dword [ebp - 0x40]
push ebx
call sub.kernel32.dll_FreeLibrary_1
test esi, esi
je 0x475509
push esi
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47551d
lea eax, [ebp - 0x28]
mov ecx, dword [0x479c3c]
mov edx, dword [ebp - 0x20]
call fcn.004059b8
mov eax, dword [ebp - 0x28]
call fcn.0040b334
test al, al
je 0x4755a9
mov dl, 1
mov eax, dword [0x472b9c]
call fcn.00472c74
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x4755a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
call fcn.00472d88
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x475874
mov edx, 0x475884
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x2c], 0
je 0x47558c
mov eax, 0x479c10
mov edx, dword [ebp - 0x2c]
call fcn.0040562c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4755a9
mov eax, dword [ebp - 0x38]
call fcn.00403c8c
ret
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x20]
call fcn.00410a5c
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 4]
mov ecx, dword [0x479c10]
call fcn.004059b8
mov eax, dword [ebp - 4]
call fcn.0040b334
test al, al
je 0x4755e2
push 1
xor ecx, ecx
mov edx, 0x47589c
mov eax, dword [ebp - 4]
call fcn.00470d20
mov dl, 1
mov eax, dword [0x471c48]
call fcn.0047296c
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4756ac
xor eax, eax
push ebp
push 0x4756a5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x64]
mov edx, 7
mov eax, dword [ebp - 0x34]
call fcn.00472494
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x18]
call fcn.00410a5c
lea eax, [ebp - 0x18]
mov edx, dword [0x479c40]
call fcn.00405938
mov eax, dword [ebp - 0x18]
call fcn.0040b334
test al, al
je 0x47564c
mov eax, dword [ebp - 0x18]
call fcn.004056b8
push eax
call sub.kernel32.dll_DeleteFileW
lea ecx, [ebp - 0x68]
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.00472358
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x18]
call fcn.00410a5c
lea eax, [ebp - 0x18]
mov edx, dword [0x479c40]
call fcn.00405938
mov eax, dword [ebp - 0x18]
call fcn.0040b334
test al, al
je 0x47568f
mov eax, dword [ebp - 0x18]
call fcn.004056b8
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4756ac
mov eax, dword [ebp - 0x34]
call fcn.00403c8c
ret
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
call fcn.00410a5c
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x1c]
mov ecx, dword [0x479c34]
call fcn.004059b8
mov eax, dword [ebp - 0x1c]
call fcn.0040b334
test al, al
je 0x4756e5
push 1
xor ecx, ecx
mov edx, 0x4757f0
mov eax, dword [ebp - 0x1c]
call fcn.00470d20
call fcn.00470f1c
xor eax, eax
push ebp
push 0x475728
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x74]
xor eax, eax
call fcn.00403380
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.0040b6cc
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov edx, eax
pop eax
call fcn.00470f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475732
push 0x3e8
call sub.kernel32.dll_Sleep_1
xor eax, eax
push ebp
push 0x475782
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x479c4c]
call fcn.00471264
test al, al
jne 0x475778
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.00403380
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0040b6cc
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x30]
call fcn.004758b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47578c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4757bb
lea eax, [ebp - 0x7c]
mov edx, 0xf
call fcn.00405624
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.00405624
ret