Function at 0x4344a0
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x47b365
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0xfc]
mov edi, dword [ebx + 0x100]
cmp esi, edi
je 0x43450b
nop dword [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 8
cmp esi, edi
jne 0x4344f0
mov eax, dword [ebx + 0xfc]
mov dword [ebx + 0x100], eax
mov eax, dword [ebx + 0x44]
test al, 1
je 0x43451a
test al, 0x40
je 0x4347bf
mov ecx, dword [ebx + 0x7c]
xor eax, eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], eax
test ecx, ecx
jle 0x4347bf
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
js 0x4347e2
cmp eax, dword [ebx + 0x7c]
jge 0x4347e2
mov edi, dword [ebx + 0x78]
add edi, ecx
mov eax, dword [edi + 4]
add eax, 0xfffffffc
cmp eax, 6
ja case.0x43455a.6
movzx eax, byte [eax + 0x434800]
jmp dword [eax*4 + 0x4347f8]
mov ecx, dword [ebx + 0x70]
lea eax, [ebx + 0x70]
mov dword [ebp - 0x14], eax
cmp dword [ecx - 0xc], 0
jne 0x434579
mov ecx, dword [ebx + 0x68]
lea eax, [ebx + 0x68]
mov dword [ebp - 0x14], eax
add ecx, 0xfffffff0
call fcn.004058b0
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov eax, dword [edi + 0x18]
push dword [eax - 0xc]
push eax
call fcn.00404870
cmp byte [edi + 0x1c], 0
mov esi, dword [ebp - 0x10]
jne 0x434646
cmp byte [ebx + 0xf8], 0
jne 0x4345d8
mov dword [ebp - 4], 0xffffffff
mov edx, esi
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4347a6
mov ecx, dword [edx]
push edx
jmp 0x4347a1
push 0x250
lea eax, [ebp]
push 0
push eax
call fcn.00454440
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x44], 0x48ec08
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
xor edx, edx
add edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
adc ecx, 0
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 0x48ec08
test eax, eax
je 0x434638
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x40], 0
cmp edx, dword [edi + 0xc]
jne 0x434641
test ecx, ecx
je 0x434646
jmp 0x434787
mov eax, dword [edi]
cmp eax, 1
je 0x434694
cmp eax, 3
je 0x434694
cmp eax, 7
je 0x434694
cmp eax, 8
je 0x434694
cmp eax, 9
je 0x434680
cmp eax, 0xa
je 0x434680
cmp eax, 0x64
jb 0x4346b4
mov eax, dword [ebx + 0x90]
cmp eax, 2
je 0x43467b
cmp eax, 5
jne 0x4346b4
jmp 0x434787
cmp dword [ebx + 0x90], 1
je 0x43468f
test byte [edi + 8], 1
je 0x4346b4
jmp 0x434787
mov eax, dword [ebx + 0x90]
cmp eax, 4
je 0x4346b4
cmp eax, 2
je 0x4346af
cmp eax, 1
je 0x4346af
test byte [edi + 8], 1
je 0x4346b4
jmp 0x434787
cmp dword [esi - 4], 1
jle 0x4346c8
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00404cb0
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43474f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x43474f
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
call fcn.00403270
test eax, eax
je 0x4347ee
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], eax
call fcn.00403270
test eax, eax
je 0x4347ee
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xb
mov word [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00432380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00432550
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.00423540
mov byte [ebp - 4], 0xd
mov ecx, eax
mov edx, dword [ebp - 0x14]
call fcn.00423c10
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434787
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4347a6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc eax
add ecx, 0x20
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
cmp eax, dword [ebp - 0x3c]
jl 0x434532
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.00452869
lea esp, [ebp + 0x254]
pop ebp
ret
push 1
push 0xc000008c
call fcn.004134e0
push 0x80004005
call fcn.00402f30
popal
inc ebp
inc ebx
add byte [eax + 0x45], dh
inc ebx
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add byte [eax], al
int3