Function at 0x542d20
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e509
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x180], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
mov byte [ebp - 0x34], bl
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
call fcn.005f9fd0
lea ecx, [ebp - 0x1c4]
push ecx
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], edx
call fcn.005f8f70
push eax
push str._Y__m__d__H__M__S
lea edx, [ebp - 0x34]
push 0x1d
push edx
call fcn.005f6c00
push 0x103
lea eax, [ebp - 0x13b]
push ebx
push eax
mov byte [ebp - 0x13c], bl
call fcn.005ff630
mov eax, dword [ebp + 0x10]
add esp, 0x24
cmp dword [ebp + 0x24], 0x10
jae 0x542dd1
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x34]
push ecx
push eax
add esi, 0x68
push esi
lea edx, [ebp - 0x13c]
push str._s_s__s.txt
push edx
call fcn.005f1060
lea eax, [ebp - 0x13c]
push 0x680a00
push eax
call fcn.005f5530
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x198], esi
call edi
cmp esi, ebx
jne 0x542e42
call edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00412410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 0x24
mov dword [ebp - 0x15c], ebx
push 8
mov byte [ebp - 4], 1
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x543360
mov dword [ebp - 0x15c], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x15c]
lea ecx, [ebp - 0x15c]
mov dword [edx], ecx
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
push 0x680a04
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x17c]
push ecx
mov byte [ebp - 4], 2
call fcn.0041d670
add esp, 0xc
mov esi, eax
lea edi, [ebp - 0x15c]
mov byte [ebp - 4], 3
call fcn.00419940
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 2
call fcn.00412410
cmp dword [ebp - 0x144], 0x10
mov eax, dword [ebp - 0x158]
jae 0x542ee2
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x148]
push edx
push ecx
push 1
push eax
call fcn.005f5d70
add esp, 0x10
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x188], ebx
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x180]
lea edx, [ebp - 0x1a4]
add edi, 0x28
push edx
push edi
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x184], edi
call fcn.004c94d0
mov ebx, eax
lea esi, [ebp - 0x190]
mov byte [ebp - 4], 5
call fcn.004370d0
push 3
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 4
call fcn.00564140
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 6
call fcn.00413660
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 4
call fcn.00564180
lea eax, [ebp - 0x1bc]
push eax
push edi
call fcn.00434830
mov esi, eax
lea edi, [ebp - 0x190]
mov byte [ebp - 4], 8
call fcn.004476f0
test al, al
push 3
lea ecx, [ebp - 0x1ac]
sete bl
mov byte [ebp - 4], 4
call fcn.00564140
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1bc]
xor edi, edi
cmp eax, edi
je 0x542ffd
cmp dword [eax + 4], edi
lea esi, [eax + 4]
je 0x542fd8
nop
mov eax, dword [esi]
lea ecx, [ebp - 0x1bc]
cmp eax, ecx
je 0x542fd4
cmp dword [eax + 4], edi
lea esi, [eax + 4]
jne 0x542fc0
cmp dword [esi], edi
jne 0x542fef
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [ebp - 0x1b8]
mov dword [esi], edx
mov dword [ebp - 0x1bc], edi
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 4
call fcn.00564180
test bl, bl
je 0x5431ad
lea esi, [ebp - 0x190]
call fcn.00447600
cmp dword [ebp + 0x24], 0x10
mov esi, dword [eax]
mov eax, dword [ebp + 0x20]
mov ebx, eax
jb 0x543037
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x180], ecx
jmp 0x543040
lea edx, [ebp + 0x10]
mov dword [ebp - 0x180], edx
mov edi, dword [esi + 0x14]
test eax, eax
je 0x543067
cmp dword [ebp - 0x180], 0
jne 0x543067
push 0x763
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x543070
mov edi, eax
mov eax, edi
cmp edi, ebx
jb 0x543078
mov eax, ebx
cmp dword [esi + 0x18], 0x10
jb 0x543083
mov edx, dword [esi + 4]
jmp 0x543086
lea edx, [esi + 4]
mov ecx, dword [ebp - 0x180]
call fcn.0040ecf0
test eax, eax
jne 0x5430a7
cmp edi, ebx
jae 0x54309e
or eax, 0xffffffff
jmp 0x5430a5
xor eax, eax
cmp edi, ebx
setne al
test eax, eax
sete al
test al, al
je 0x543114
lea esi, [ebp - 0x190]
call fcn.00447600
mov eax, dword [eax]
push 0xffffffffffffffff
add eax, 0x20
push 0
push eax
lea ecx, [ebp - 0x15c]
call fcn.004126e0
push 1
push 0x680a04
lea ecx, [ebp - 0x15c]
call fcn.00412ae0
cmp dword [ebp - 0x144], 0x10
mov eax, dword [ebp - 0x158]
jae 0x5430f5
lea eax, [ebp - 0x158]
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x148]
push ecx
push edx
push 1
push eax
call fcn.005f5d70
add esp, 0x10
inc dword [ebp - 0x194]
lea eax, [ebp - 0x1a4]
push eax
lea ebx, [ebp - 0x190]
call fcn.004474c0
push 3
lea ecx, [ebp - 0x1b0]
call fcn.00564140
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x543193
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x54316a
lea ebx, [ebx]
mov eax, dword [esi]
lea ecx, [ebp - 0x1a4]
cmp eax, ecx
je 0x543165
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x543150
cmp dword [esi], 0
jne 0x543181
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [ebp - 0x1a0]
mov dword [esi], edx
mov dword [ebp - 0x1a4], 0
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 4
call fcn.00564180
mov edi, dword [ebp - 0x184]
jmp 0x542f73
mov eax, dword [ebp - 0x198]
push eax
call fcn.005f64a0
add esp, 4
cmp dword [ebp - 0x194], edi
jne 0x5431d1
lea ecx, [ebp - 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 2
push 3
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], bl
call fcn.00564140
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x190]
cmp esi, edi
je 0x54323d
add esi, 4
cmp dword [esi], edi
je 0x543218
jmp 0x543200
mov eax, dword [esi]
lea edx, [ebp - 0x190]
cmp eax, edx
je 0x543214
cmp dword [eax + 4], edi
lea esi, [eax + 4]
jne 0x543200
cmp dword [esi], edi
jne 0x54322f
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov eax, dword [ebp - 0x18c]
mov dword [esi], eax
mov dword [ebp - 0x190], edi
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], bl
call fcn.00564180
mov ebx, 0x10
cmp dword [ebp - 0x144], ebx
jb 0x543267
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], edi
mov byte [ebp - 0x158], 0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x15c], edi
je 0x5432c9
push 3
lea ecx, [ebp - 0x184]
call fcn.00564140
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 4], edi
je 0x5432b5
mov edx, dword [eax + 4]
mov dword [edx], edi
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, edi
jne 0x5432a3
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x184]
mov dword [eax + 4], edi
call fcn.00564180
mov ecx, dword [ebp - 0x15c]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x15c], edi
cmp dword [ebp + 0x24], ebx
jb 0x5432ef
mov edx, dword [ebp + 0x10]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x20], edi
mov byte [ebp + 0x10], 0
mov dword [ebp - 4], 0xc
cmp dword [ebp + 0xc], edi
je 0x543343
push 3
lea ecx, [ebp - 0x184]
call fcn.00564140
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], edi
je 0x543332
lea ebx, [ebx]
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, edi
jne 0x543320
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x184]
mov dword [edx + 4], edi
call fcn.00564180
mov eax, dword [ebp + 0xc]
push eax
call fcn.005f0cb0
add esp, 4
jmp 0x542e24
lea ecx, [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1a8], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x1d0]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
int3