Function at 0x402c40
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46d601
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x6c], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x70], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x74], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x78], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x7c], eax
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], 0
call fcn.00469602
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x1c]
lea ecx, [esp + 0x10]
call fcn.0041a3b0
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x21c]
add eax, 0x14
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 1
call fcn.004028b0
mov ecx, dword [esi + 0x21c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
call fcn.0041a560
mov eax, dword [esi + 0x218]
mov ecx, dword [eax + 0x38]
cmp ecx, dword [eax + 0x40]
jne 0x402fb2
mov edx, dword [eax + 0x3c]
cmp edx, dword [eax + 0x44]
jne 0x402fb2
mov edx, eax
mov eax, dword [edx + 0x18]
cmp eax, 6
je 0x402fb2
cmp eax, 7
je 0x402fb2
cmp eax, 3
je 0x402fb2
mov eax, dword [edx + 0x40]
mov ecx, dword [esp + 0x64]
mov ebp, dword [edx + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x68]
sbb eax, ebp
test eax, eax
jg 0x402f32
jl 0x402dd5
test ecx, ecx
jae 0x402ddc
neg ecx
adc eax, 0
neg eax
test eax, eax
jg 0x402f32
jl 0x402df2
cmp ecx, 0x1f4
jae 0x402f32
mov eax, dword [ebx + 0x551]
test eax, eax
je 0x402f15
mov eax, dword [ebx + 0x55d]
test eax, eax
je 0x402ead
mov ecx, dword [esi + 0x1c]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 3
mov edx, dword [edx + 0x14]
mov eax, dword [edx - 0xc]
add eax, 2
push edi
push eax
call fcn.0045be25
mov ebp, eax
mov eax, dword [esi + 0x218]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx - 0xc]
lea ecx, [eax + 2]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x218]
mov ecx, dword [eax + 0x14]
mov edx, ebp
pop edi
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x402e82
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], ebp
mov word [esp + 0x28], 0x50
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push ebp
call fcn.0045be20
add esp, 4
jmp 0x402f0b
mov edx, dword [edx + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x402f0b
lea ecx, [esp + 0xc]
call fcn.004019e0
mov edx, dword [esi + 0x218]
mov eax, dword [edx + 0x14]
push eax
push 0x56
mov byte [esp + 0x94], 3
call fcn.00419c20
add esp, 4
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00401ab0
mov edx, dword [esp + 0x18]
push 0
push edx
call fcn.00405f40
add esp, 0x14
lea ecx, [esp + 0xc]
mov byte [esp + 0x8c], 1
call fcn.00401790
mov eax, dword [ebx + 0x551]
test eax, eax
jne 0x402f1f
mov eax, dword [ebx + 0x555]
test eax, eax
je 0x402f7a
mov eax, dword [esi + 0x218]
add eax, 0x10
push eax
mov ecx, ebx
call fcn.0040d040
jmp 0x402f7a
lea ecx, [esp + 0xc]
call fcn.004019e0
mov ecx, dword [esi + 0x218]
mov edx, dword [ecx + 0x10]
push edx
push 0x59
mov byte [esp + 0x94], 4
call fcn.00419c20
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00401ab0
mov ecx, dword [esp + 0x18]
push 0
push ecx
call fcn.00405f40
add esp, 0x14
lea ecx, [esp + 0xc]
call fcn.00401790
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 0
call fcn.0041aa10
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
mov dword [esp + 0x8c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4030a8
mov edx, dword [esi + 0x218]
mov eax, dword [edx + 0x38]
mov ecx, dword [esp + 0x64]
mov ebp, dword [edx + 0x3c]
sub ecx, eax
mov eax, dword [esp + 0x68]
sbb eax, ebp
test eax, eax
jg 0x40300a
jl 0x402fd4
test ecx, ecx
jae 0x402fdb
neg ecx
adc eax, 0
neg eax
test eax, eax
jg 0x40300a
jl 0x402fe9
cmp ecx, 0x1f4
jae 0x40300a
mov eax, dword [ebx + 0x551]
test eax, eax
jne 0x402ffd
mov eax, dword [ebx + 0x555]
test eax, eax
je 0x403075
add edx, 0x10
push edx
mov ecx, ebx
call fcn.0040d040
jmp 0x403075
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x218]
mov ecx, dword [eax + 0x10]
push ecx
push 0x59
mov byte [esp + 0x94], 2
call fcn.00419c20
add esp, 4
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00401ab0
mov esi, dword [esp + 0x18]
push 0
push esi
call fcn.00405f40
lea eax, [esi - 0x10]
add esp, 0x14
mov byte [esp + 0x8c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403075
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 0
call fcn.0041aa10
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40310c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40312a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403148
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403166
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403184
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x84]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret