Function at 0x42cb20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2439
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp + 8]
lea edi, [ecx + 4]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], 7
mov word [ecx + 0x1c], dx
lea eax, [ecx + 0x34]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0xf
mov dword [ebp - 0xa8], eax
mov byte [eax], dl
lea eax, [ecx + 0x58]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0xf
mov dword [ebp - 0xa4], eax
mov byte [eax], dl
mov dword [ecx + 0x80], edx
mov dword [ecx + 0x84], 0xf
mov byte [ecx + 0x70], dl
lea esi, [ecx + 0x8c]
mov byte [ebp - 4], 4
mov dword [ebp - 0xb0], esi
mov ecx, esi
mov dword [esi], edx
mov dword [esi + 4], edx
call fcn.00412c10
mov dword [esi], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0xac]
add esi, 0x94
mov dword [ebp - 0xb0], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00412c10
mov dword [esi], eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xb8]
mov byte [ebp - 4], 6
cmp eax, ecx
je 0x42cc46
cmp dword [ecx + 0x14], 0x10
mov edx, ecx
jb 0x42cc3b
mov edx, dword [ecx]
push dword [ecx + 0x10]
mov ecx, eax
push edx
call fcn.0040e3a0
mov eax, dword [ebp - 0xa4]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x42cc56
mov ecx, dword [eax]
mov esi, dword [ebp - 0xac]
push 0x4ec648
push ecx
lea eax, [esi + 0x88]
push eax
call fcn.004af4fc
add esp, 0xc
lea ecx, [esi + 0x34]
cmp dword [esi + 0x48], 0x10
jb 0x42cc7d
mov ecx, dword [esi + 0x34]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x4c], eax
cmp eax, 0xffffffff
jne 0x42ccd9
cmp dword [esi + 0x48], 0x10
jb 0x42ccad
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0xa8]
push eax
push 0x4ea390
push 0x21
push 0x4ec650
push 1
call fcn.00407ee0
push eax
call fcn.00407910
add esp, 0x1c
jmp 0x42cce6
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 0x58]
call fcn.0040eca0
push 1
push 0x4e9980
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004086c0
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0xb
push str.history.txt
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004086c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [eax], cx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xa0]
call fcn.00408390
mov dword [ebp - 0xa4], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00409770
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x14], 0x10
jb 0x42cd9b
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xa4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cda6
sub ecx, dword [ebp - 0xa4]
push ecx
push edx
lea ecx, [esi + 0x58]
call fcn.0040e3a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0xa0]
push eax
call fcn.0048dbcc
lea ecx, [ebp - 0x40]
call fcn.0040c2c0
lea ecx, [ebp - 0x28]
call fcn.0040c2c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.0040c2c0
lea ecx, [ebp - 0x58]
call fcn.0040eca0
push 1
push 0x4e9980
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004086c0
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0xb
push str.history.ini
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.004086c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [eax], cx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xa0]
call fcn.00408390
mov dword [ebp - 0xa4], eax
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00409770
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + 0x14], 0x10
jb 0x42ceaf
mov ecx, dword [ecx]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0xa4], eax
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x42cec0
sub edx, dword [ebp - 0xa4]
push edx
push ecx
lea ecx, [esi + 0x70]
call fcn.0040e3a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x10
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0xa0]
push eax
call fcn.0048dbcc
lea ecx, [ebp - 0x40]
call fcn.0040c2c0
lea ecx, [ebp - 0x28]
call fcn.0040c2c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.0040c2c0
lea ecx, [ebp - 0x58]
call fcn.0040eca0
push 7
push str.BF.bin
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.004086c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28]
movq qword [ebp - 0xb4], xmm0
movq qword [ebp - 0x18], xmm0
cmp edi, eax
je 0x42cf94
mov ecx, edi
call fcn.0040c2c0
movups xmm0, xmmword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0xb4]
movq qword [edi + 0x10], xmm0
lea ecx, [ebp - 0x28]
call fcn.0040c2c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.0040c2c0
lea ecx, [ebp - 0x58]
call fcn.0040eca0
push 0x10
push str._fingerprint.csv
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.004086c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x1c]
movq qword [ebp - 0xb4], xmm0
movq qword [ebp - 0x18], xmm0
cmp ecx, eax
je 0x42d02a
call fcn.0040c2c0
movups xmm0, xmmword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
movups xmmword [esi + 0x1c], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0xb4]
movq qword [esi + 0x2c], xmm0
lea ecx, [ebp - 0x28]
call fcn.0040c2c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.0040c2c0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x50], eax
mov eax, edi
mov dword [esi + 0x88], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x9c], 0
cmp dword [edi + 0x14], 8
jb 0x42d066
mov eax, dword [edi]
push eax
push 0x4ec6fc
mov edx, 0x6b
call fcn.0040ee00
add esp, 8
test al, al
je 0x42d15d
push edi
lea ecx, [ebp - 0xa0]
call fcn.00408390
mov dword [ebp - 0xa4], eax
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00409770
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x14], 0x10
jb 0x42d0ac
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ecx + 1]
mov dword [ebp - 0xa4], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d0d0
sub ecx, dword [ebp - 0xa4]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040e3a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x14
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0xa0]
push eax
call fcn.0048dbcc
mov byte [ebp - 4], 6
movsd xmm3, qword [0x4f35f8]
push ecx
call fcn.00405680
add esp, 4
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae edx, dword [ebp - 0x40]
call fcn.00405af0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x42d15d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d153
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d192
push edx
push ecx
call fcn.0048d8eb
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x42d165
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0042d340
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 0xc
call fcn.004b0023
int3