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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496eb7
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4d406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1c], ecx
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
push str.main
lea ecx, [ebp - 0x258]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.00404f30
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004218f0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x42777f
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x427775
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c79
push edx
push ecx
call fcn.0045cf49
add esp, 8
push 4
push str.Item
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.00404f30
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.004218f0
mov ecx, dword [ebp - 0x14]
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp ecx, esi
je 0x427807
add dword [ecx], 0xffffffff
jne 0x4277fd
test ebx, ebx
je 0x4277f2
mov ecx, ebx
call fcn.00421780
push 0x60
push ebx
call fcn.0045cf49
mov ecx, dword [ebp - 0x14]
add esp, 8
push 4
push ecx
call fcn.0045cf49
add esp, 8
inc dword [esi]
mov ebx, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x23c]
add dword [eax], 0xffffffff
jne 0x42783e
mov esi, dword [ebp - 0x240]
test esi, esi
je 0x42782e
mov ecx, esi
call fcn.00421780
push 0x60
push esi
call fcn.0045cf49
add esp, 8
push 4
push dword [ebp - 0x23c]
call fcn.0045cf49
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x42787c
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x427872
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c7e
push edx
push ecx
call fcn.0045cf49
add esp, 8
push 0x20c
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0045f220
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], 0x200
add esp, 0xc
mov dword [ebp - 0x230], eax
push 0x31
push str.__xml_version_1.0__encoding_utf_8____main__Item
push eax
mov byte [ebp - 4], 4
call fcn.0045f970
add esp, 8
mov dword [ebp - 0x238], 0x31
lea eax, [ebx + 0x28]
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
push eax
call fcn.0042c210
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x238]
mov esi, dword [eax]
cmp esi, eax
je 0x427b36
lea edi, [ebx + 1]
cmp edi, dword [ebp - 0x234]
jb 0x42790e
push edi
lea ecx, [ebp - 0x238]
call fcn.00430770
mov ebx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x230]
mov cl, byte [0x4bb7f8]
mov byte [eax + ebx], cl
lea ebx, [esi + 0x10]
mov dword [ebp - 0x238], edi
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x25c], eax
jb 0x427937
mov ebx, dword [ebx]
test eax, eax
je 0x427981
add eax, edi
mov dword [ebp - 0x23c], eax
cmp eax, dword [ebp - 0x234]
jb 0x42795d
push eax
lea ecx, [ebp - 0x238]
call fcn.00430770
mov edi, dword [ebp - 0x238]
push dword [ebp - 0x25c]
mov eax, dword [ebp - 0x230]
add eax, edi
push ebx
push eax
call fcn.0045f970
mov edi, dword [ebp - 0x23c]
add esp, 0xc
mov dword [ebp - 0x238], edi
lea ebx, [edi + 2]
cmp ebx, dword [ebp - 0x234]
jb 0x42799e
push ebx
lea ecx, [ebp - 0x238]
call fcn.00430770
mov edi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x230]
lea edx, [esi + 0x28]
mov cx, word [0x4bb7fc]
push ecx
mov word [eax + edi], cx
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x238], ebx
call fcn.0040ad70
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x274]
call fcn.00454790
push 0xfde9
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x258]
call fcn.004242d0
mov ebx, eax
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x23c], eax
jb 0x427a04
mov ebx, dword [ebx]
test eax, eax
je 0x427a4a
mov ecx, dword [ebp - 0x238]
lea edi, [ecx + eax]
cmp edi, dword [ebp - 0x234]
jb 0x427a31
push edi
lea ecx, [ebp - 0x238]
call fcn.00430770
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
push eax
mov eax, dword [ebp - 0x230]
add eax, ecx
push ebx
push eax
call fcn.0045f970
add esp, 0xc
mov dword [ebp - 0x238], edi
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x427a84
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x427a7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c79
push edx
push ecx
call fcn.0045cf49
add esp, 8
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.004054f0
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 5
call fcn.004054f0
mov edx, dword [ebp - 0x238]
lea ebx, [edx + 1]
cmp ebx, dword [ebp - 0x234]
jb 0x427adc
push ebx
lea ecx, [ebp - 0x238]
call fcn.00430770
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x230]
mov cl, byte [0x4bb800]
mov byte [eax + edx], cl
mov dword [ebp - 0x238], ebx
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x427b17
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x427b13
cmp esi, dword [eax + 8]
jne 0x427b13
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x427b03
mov esi, eax
jmp 0x427b2d
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x427b2d
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x427b21
cmp esi, dword [ebp - 0x24]
jne 0x4278f1
lea esi, [ebx + 0xf]
cmp esi, dword [ebp - 0x234]
jb 0x427b53
push esi
lea ecx, [ebp - 0x238]
call fcn.00430770
mov ebx, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x230]
movq xmm0, qword [str.___Item___main_]
add ecx, ebx
mov edi, dword [ebp - 0x1c]
push edi
movq qword [ecx], xmm0
mov eax, dword [0x4bb80c]
mov dword [ecx + 8], eax
mov ax, word [0x4bb810]
mov word [ecx + 0xc], ax
mov al, byte [0x4bb812]
mov byte [ecx + 0xe], al
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x238], esi
mov byte [eax + esi], 0
mov ebx, dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x427bf5
test esi, esi
jg 0x427bdb
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427bd0
sub ecx, edx
mov esi, ecx
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x427bf7
xor bl, bl
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push eax
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.004227c0
push 0x40
push dword [ebp - 0x24]
call fcn.0045cf49
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x22c]
add esp, 8
cmp eax, ecx
je 0x427c2f
push eax
call fcn.0046274a
add esp, 4
mov edi, dword [ebp - 0x14]
add dword [edi], 0xffffffff
jne 0x427c5b
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x427c50
mov ecx, esi
call fcn.00421780
push 0x60
push esi
call fcn.0045cf49
add esp, 8
push 4
push edi
call fcn.0045cf49
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045cf38
mov esp, ebp
pop ebp
ret
call fcn.004626c9
call fcn.004626c9
int3