Function at 0x401cb0
Capabilities:
Delete file

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 4
mov edi, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], 0
call esi
lea ecx, [esp + 0x14]
cmp eax, ecx
jle 0x401cea
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 1
jmp 0x401cf9
push 0xe
call esi
lea edx, [esp + 0x14]
xor ecx, ecx
cmp eax, edx
setg cl
mov eax, 0x30c30c31
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x2a
jle 0x401d21
push 0x2a
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041a8a0
call fcn.00431240
xor esi, esi
cmp dword [edi + 0x54], esi
jbe 0x401d9c
mov ecx, dword [edi + 0x14]
xor edx, edx
mov eax, esi
div ecx
mov ebp, edx
cmp ebp, ecx
jbe 0x401d3c
call fcn.00439b40
mov ebx, 0x10
cmp dword [edi + 0x18], ebx
jb 0x401d4f
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
jmp 0x401d56
lea eax, [edi + 4]
mov dword [esp + 0x14], eax
cmp esi, dword [edi + 0x4c]
jbe 0x401d60
call fcn.00439b40
cmp dword [edi + 0x50], ebx
jb 0x401d6a
mov eax, dword [edi + 0x3c]
jmp 0x401d6d
lea eax, [edi + 0x3c]
mov bl, byte [eax + esi]
mov edx, dword [esp + 0x14]
xor bl, byte [edx + ebp]
cmp esi, dword [edi + 0x4c]
jbe 0x401d81
call fcn.00439b40
cmp dword [edi + 0x50], 0x10
jb 0x401d8c
mov eax, dword [edi + 0x3c]
jmp 0x401d8f
lea eax, [edi + 0x3c]
mov byte [eax + esi], bl
inc esi
cmp esi, dword [edi + 0x54]
jb 0x401d28
mov ebp, dword [esp + 0x1c]
mov ebx, dword [edi + 0x4c]
lea eax, [ebp + 4]
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov esi, ebp
mov dword [esp + 0x18], eax
mov word [eax], cx
call fcn.00402ed0
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x18]
cmp eax, 8
jb 0x401dd4
mov esi, dword [edx]
mov dword [esp + 0x14], esi
jmp 0x401de0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x401e08
cmp eax, 8
jb 0x401ded
mov ecx, dword [edx]
jmp 0x401def
mov ecx, edx
cmp ecx, esi
ja 0x401e08
cmp eax, 8
jb 0x401dfc
mov eax, dword [edx]
jmp 0x401dfe
mov eax, edx
mov ecx, dword [ebp + 0x14]
lea edx, [eax + ecx*2]
cmp esi, edx
jbe 0x401e0d
call fcn.00439b40
mov esi, dword [edi + 0x50]
lea eax, [edi + 0x3c]
cmp esi, 0x10
jb 0x401e1c
mov ecx, dword [eax]
jmp 0x401e1e
mov ecx, eax
mov edx, dword [edi + 0x4c]
lea ebx, [edx + ecx]
test ebx, ebx
je 0x401e44
cmp esi, 0x10
jb 0x401e31
mov ecx, dword [eax]
jmp 0x401e33
mov ecx, eax
cmp ecx, ebx
ja 0x401e44
cmp esi, 0x10
jb 0x401e3e
mov eax, dword [eax]
add edx, eax
cmp ebx, edx
jbe 0x401e49
call fcn.00439b40
mov edx, dword [edi + 0x50]
lea eax, [edi + 0x3c]
cmp edx, 0x10
jb 0x401e58
mov esi, dword [eax]
jmp 0x401e5a
mov esi, eax
test esi, esi
je 0x401e7d
cmp edx, 0x10
jb 0x401e67
mov ecx, dword [eax]
jmp 0x401e69
mov ecx, eax
cmp ecx, esi
ja 0x401e7d
cmp edx, 0x10
jb 0x401e74
mov eax, dword [eax]
mov ecx, dword [edi + 0x4c]
add ecx, eax
cmp esi, ecx
jbe 0x401e82
call fcn.00439b40
mov ecx, ebx
sub ecx, esi
cmp ebp, 0xfffffffc
je 0x401ec7
mov edi, dword [ebp + 0x18]
mov eax, dword [esp + 0x18]
cmp edi, 8
jb 0x401e9b
mov edx, dword [eax]
jmp 0x401e9d
mov edx, eax
mov ebp, dword [esp + 0x14]
lea ecx, [ebp + ecx*2]
mov ebp, dword [esp + 0x1c]
mov ebp, dword [ebp + 0x14]
lea edx, [edx + ebp*2]
cmp ecx, edx
ja 0x401ebe
cmp edi, 8
jb 0x401eba
mov eax, dword [eax]
cmp ecx, eax
jae 0x401ec3
call fcn.00439b40
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, esi
cmp esi, ebx
je 0x401ee0
movsx dx, byte [eax]
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, ebx
jne 0x401ed1
call fcn.00439c27
cdq
mov ecx, 0xa
idiv ecx
mov esi, edx
call fcn.00439c27
cdq
mov ecx, 0xa
idiv ecx
cmp esi, edx
setl al
test al, al
je 0x401f1f
movzx edx, al
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
call fcn.00448f90
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x401f2e
fldz
call fcn.00448e60
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00449080
test eax, eax
je 0x401f3c
call fcn.00401280
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret 4