Function at 0x40a530
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4abe8b
push eax
mov dword fs:[0], esp
sub esp, 0x458
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x478]
xor ebx, ebx
push edi
push ebx
call fcn.00466520
push eax
lea eax, [esp + 0x234]
push 0x105
push eax
mov ecx, ebp
call fcn.0040c8d0
lea ecx, [esp + 0x22c]
push ecx
call fcn.00485230
add esp, 4
test al, al
je 0x40a5a2
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x40a5a2
xor al, al
jmp 0x40a9f5
lea ecx, [esp + 0x10]
call fcn.00489cd0
push ebx
push 1
lea eax, [esp + 0x234]
push 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x480], ebx
call fcn.00489d20
test al, al
jne 0x40a5e7
lea ecx, [esp + 0x10]
mov dword [esp + 0x470], 0xffffffff
call fcn.00489d10
xor al, al
jmp 0x40a9f5
mov esi, dword [esp + 0x480]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x20], 3
call fcn.00414ce0
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.00414960
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.00415460
inc eax
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.00414d00
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004160c0
lea ecx, [esp + 0x20]
push 0x24
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], eax
call fcn.00489f00
test al, al
jne 0x40a673
lea ecx, [esp + 0x10]
call fcn.00489e00
lea ecx, [esp + 0x10]
mov dword [esp + 0x470], 0xffffffff
call fcn.00489d10
xor al, al
jmp 0x40a9f5
mov ecx, esi
call fcn.00415460
test eax, eax
jle 0x40a6e6
mov ecx, 0x4d
xor eax, eax
lea edi, [esp + 0x44]
push 0x101
rep stosd dword es:[edi], eax
push ebx
mov ecx, esi
call fcn.00415480
mov ecx, eax
call fcn.0044bcd0
lea edx, [esp + 0x48]
push eax
push edx
call fcn.00486310
add esp, 0xc
mov ecx, esi
push ebx
call fcn.00415480
mov ecx, eax
call fcn.004193c0
mov dword [esp + 0x148], eax
lea eax, [esp + 0x44]
push 0x134
push eax
lea ecx, [esp + 0x18]
call fcn.00489f00
test al, al
je 0x40a740
mov ecx, esi
inc ebx
call fcn.00415460
cmp ebx, eax
jl 0x40a67e
mov ecx, 0x4d
xor eax, eax
lea edi, [esp + 0x44]
push 0x101
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.00415c40
mov ecx, eax
call fcn.0044bcd0
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00486310
add esp, 0xc
mov ecx, esi
call fcn.00415c40
mov ecx, eax
call fcn.004193c0
lea edx, [esp + 0x44]
push 0x134
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x150], eax
call fcn.00489f00
test al, al
jne 0x40a764
lea ecx, [esp + 0x10]
call fcn.00489e00
lea ecx, [esp + 0x10]
mov dword [esp + 0x470], 0xffffffff
call fcn.00489d10
xor al, al
jmp 0x40a9f5
mov ecx, esi
xor ebx, ebx
call fcn.00414960
test eax, eax
jle 0x40a924
mov ecx, 0x7a
xor eax, eax
lea edi, [esp + 0x44]
push ebx
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.00440470
push ebx
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.004148c0
mov ecx, eax
call fcn.00441880
test al, al
je 0x40a7b2
mov eax, dword [esp + 0x4c]
or al, 1
mov dword [esp + 0x4c], eax
push ebx
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.004418c0
test al, al
je 0x40a7cf
mov eax, dword [esp + 0x4c]
or al, 2
mov dword [esp + 0x4c], eax
push ebx
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.004418e0
test al, al
je 0x40a7ec
mov eax, dword [esp + 0x4c]
or al, 4
mov dword [esp + 0x4c], eax
push ebx
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.00441920
test al, al
je 0x40a809
mov eax, dword [esp + 0x4c]
or al, 8
mov dword [esp + 0x4c], eax
push ebx
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.00441900
test al, al
je 0x40a826
mov eax, dword [esp + 0x4c]
or al, 0x10
mov dword [esp + 0x4c], eax
push ebx
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.00440420
test al, al
je 0x40a843
mov eax, dword [esp + 0x4c]
or al, 0x20
mov dword [esp + 0x4c], eax
push ebx
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.00440430
test al, al
je 0x40a860
mov eax, dword [esp + 0x4c]
or al, 0x40
mov dword [esp + 0x4c], eax
push ebx
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.004418a0
test al, al
je 0x40a87d
mov eax, dword [esp + 0x4c]
or al, 0x80
mov dword [esp + 0x4c], eax
push ebx
mov ecx, esi
call fcn.004148c0
mov ecx, eax
call fcn.00441960
push 0x84
push ebx
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.004148c0
mov ecx, eax
call fcn.00440440
push eax
lea eax, [esp + 0x18c]
push eax
call fcn.00486310
add esp, 0xc
mov ecx, esi
push 0x33
push ebx
call fcn.004148c0
mov ecx, eax
call fcn.0044bcd0
lea ecx, [esp + 0x155]
push eax
push ecx
call fcn.00486310
add esp, 0xc
mov ecx, esi
push 0x101
push ebx
call fcn.004148c0
mov ecx, eax
call fcn.00441930
lea edx, [esp + 0x54]
push eax
push edx
call fcn.00486310
add esp, 0xc
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push 0x1e8
push eax
call fcn.00489f00
test al, al
je 0x40a740
mov ecx, esi
inc ebx
call fcn.00414960
cmp ebx, eax
jl 0x40a775
mov ecx, esi
xor ebx, ebx
call fcn.004160c0
test eax, eax
jle 0x40a989
mov ecx, 0x4d
xor eax, eax
lea edi, [esp + 0x334]
push 0x101
rep stosd dword es:[edi], eax
push ebx
mov ecx, esi
call fcn.004160e0
lea ecx, [esp + 0x338]
push eax
push ecx
call fcn.00486310
add esp, 0xc
lea edx, [esp + 0x334]
lea ecx, [esp + 0x10]
push 0x134
push edx
call fcn.00489f00
test al, al
je 0x40a740
mov ecx, esi
inc ebx
call fcn.004160c0
cmp ebx, eax
jl 0x40a931
lea ecx, [esp + 0x10]
call fcn.00489e00
mov bl, byte [esp + 0x478]
test bl, bl
jne 0x40a9a4
mov ecx, ebp
call fcn.0048a6c0
mov esi, dword [esp + 0x47c]
mov ecx, esi
call fcn.00466520
push eax
mov ecx, ebp
call fcn.0040efe0
mov ecx, esi
call fcn.00466520
push eax
mov ecx, ebp
call fcn.0040c660
test eax, eax
je 0x40a9d4
mov ecx, eax
call fcn.00406d10
test bl, bl
jne 0x40a9df
mov ecx, ebp
call fcn.0048a6d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x470], 0xffffffff
call fcn.00489d10
mov al, 1
mov ecx, dword [esp + 0x468]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x464
ret 0xc