Function at 0x403fd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x425014]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
call fcn.00403d00
test al, al
jne 0x404006
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
call fcn.00403d00
test al, al
je 0x403ff6
push 0
push 0x421c9c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 7
call fcn.00404d30
push 0
push 0x421c9c
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 7
call fcn.00404d30
call fcn.004034a0
lea ecx, [esp + 0x44]
call fcn.00403950
call fcn.004023d0
cmp dword [esp + 0x58], 8
lea ebx, [esp + 0x44]
mov eax, dword [esp + 0x54]
cmovae ebx, dword [esp + 0x44]
cmp eax, 1
jb 0x4040c7
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea edi, [ebx + ecx*2]
mov esi, edi
sub esi, 0x421ee0
cmp word [edi], 0x5c
jne 0x4040bb
mov edx, 1
mov ecx, 0x421ee0
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4040bb
add ecx, 2
sub edx, 1
jne 0x4040a4
sub edi, ebx
sar edi, 1
jmp 0x4040ca
cmp edi, ebx
je 0x4040c7
sub edi, 2
sub esi, 2
jmp 0x404094
or edi, 0xffffffff
lea ecx, [edi + 1]
mov dword [esp + 0x14], 0
cmp dword [esp + 0x54], ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x24], 0
cmovb ecx, dword [esp + 0x54]
cmp dword [esp + 0x58], 8
push ecx
cmovae eax, dword [esp + 0x48]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x30], 7
call fcn.00404d30
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
call fcn.00404ac0
mov ecx, dword [esp + 0x28]
cmp ecx, 8
jb 0x404151
mov edx, dword [esp + 0x14]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404147
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404458
push ecx
push edx
call fcn.0040a82c
add esp, 8
mov ecx, dword [esp + 0x54]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xa
jb 0x404453
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
push 0xa
cmovae eax, dword [esp + 0x48]
push ecx
push ecx
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.00405c40
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00404ac0
mov ecx, dword [esp + 0x28]
cmp ecx, 8
jb 0x4041d0
mov edx, dword [esp + 0x14]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4041c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404458
push ecx
push edx
call fcn.0040a82c
add esp, 8
sub esp, 0x18
lea ebx, [esp + 0x44]
mov esi, esp
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x54]
cmovae ebx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
cmp eax, 8
jae 0x404214
movups xmm0, xmmword [ebx]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x404294
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x40444e
add eax, eax
cmp eax, 0x1000
jb 0x404265
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40444e
push ecx
call fcn.0040a496
add esp, 4
test eax, eax
je 0x404458
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x404278
test eax, eax
je 0x404276
push eax
call fcn.0040a496
add esp, 4
mov ecx, eax
jmp 0x404278
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push ecx
call fcn.0040b800
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
call fcn.004039f0
add esp, 0x18
test eax, eax
je 0x4043ac
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4043ac
push str.Start
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6263fc], eax
test eax, eax
je 0x4043ac
call eax
cmp al, 1
jne 0x404304
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00403860
mov ecx, dword [esp + 0x40]
cmp ecx, 8
jb 0x404345
mov edx, dword [esp + 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40433b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404458
push ecx
push edx
call fcn.0040a82c
add esp, 8
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
cmp ecx, 8
jb 0x404398
mov edx, dword [esp + 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40438e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404458
push ecx
push edx
call fcn.0040a82c
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0040a2a3
mov esp, ebp
pop ebp
ret 0x10
call fcn.00403860
mov ecx, dword [esp + 0x40]
cmp ecx, 8
jb 0x4043e9
mov edx, dword [esp + 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4043df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404458
push ecx
push edx
call fcn.0040a82c
add esp, 8
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
cmp ecx, 8
jb 0x404438
mov edx, dword [esp + 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40442e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404458
push ecx
push edx
call fcn.0040a82c
add esp, 8
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a2a3
mov esp, ebp
pop ebp
ret 0x10
call fcn.004010b0
call fcn.00401150
call fcn.0040de7a
int3