Function at 0x100262b0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100906c8
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x1ba4
call fcn.10055c30
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1bb0], eax
xor edi, edi
mov dword [ebp - 0x1b78], edi
mov dword [ebp - 0x1b74], edi
mov dword [ebp - 0x1a68], edi
mov dword [ebp - 0x1a64], edi
xor eax, eax
mov dword [ebp - 0x1a60], eax
mov dword [ebp - 0x1a5c], eax
mov dword [ebp - 0x1a58], eax
mov dword [ebp - 0x1a54], eax
mov dword [ebp - 0x1a50], eax
mov dword [ebp - 0x1a4c], eax
mov dword [ebp - 0x1a48], eax
mov dword [ebp - 0x1b68], eax
push 0xfc
push eax
lea eax, [ebp - 0x1b64]
push eax
call fcn.10055aa0
add esp, 0xc
mov dword [ebp - 0x1b7c], edi
mov dword [ebp - 0x1a44], str..css
mov dword [ebp - 0x1a40], str..gif
mov dword [ebp - 0x1a3c], str..png
mov dword [ebp - 0x1a38], str..jpg
mov dword [ebp - 0x1a34], str..jpeg
mov dword [ebp - 0x1a30], str..bmp
mov dword [ebp - 0x1a2c], str..ico
mov dword [ebp - 0x1a28], str..eot
mov dword [ebp - 0x1ba4], edi
or eax, 0xffffffff
mov dword [ebp - 0x1b98], eax
mov dword [ebp - 4], edi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1ba0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
add dword [ebp - 0x1ba0], 0x9a5f4400
adc dword [ebp - 0x1b9c], 0xfffffffe
push esi
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.10053320
push 0x5c
lea eax, [ebp - 0x224]
push eax
call fcn.1005276f
add esp, 0x14
test eax, eax
jne 0x10026436
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [edi + 3]
jmp 0x10026c79
xor ecx, ecx
mov word [eax + 2], cx
mov edx, 0x2000
mov dword [ebp - 0x1b90], edx
mov dword [ebp - 0x1b8c], ecx
mov dword [ebp - 0x1ba8], ecx
jmp 0x10026460
imul eax, dword [ebp - 0x1bb0], 0x2004
mov esi, dword [ebp - 0x1b88]
add esi, eax
cmp ecx, dword [esi + 0x14]
jge 0x10026b9e
push 0
push 0
push dword [ebp - 0x1b8c]
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x100264b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [esi + 0x1e]
jmp 0x10026c79
push 0
lea eax, [ebp - 0x1b74]
push eax
push 0x24
lea eax, [ebp - 0x1a68]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10026492
cmp dword [ebp - 0x1b74], 0x24
jne 0x10026492
add dword [ebp - 0x1b90], 0x24
adc dword [ebp - 0x1b8c], 0
mov esi, dword [ebp - 0x1a68]
mov eax, esi
mov ecx, dword [ebp - 0x1a64]
mov dword [ebp - 0x1b84], ecx
or eax, ecx
je 0x10026b86
mov edx, dword [ebp - 0x1a50]
test edx, edx
jns 0x10026b86
mov eax, esi
shld ecx, eax, 2
shl eax, 2
add esi, eax
mov eax, dword [ebp - 0x1b84]
adc eax, ecx
shld eax, esi, 1
mov dword [ebp - 0x1b84], eax
add esi, esi
mov dword [ebp - 0x1bac], esi
cmp eax, dword [ebp - 0x1b9c]
ja 0x10026553
jb 0x10026b86
cmp esi, dword [ebp - 0x1ba0]
jb 0x10026b86
mov esi, dword [ebp - 0x1a60]
mov ecx, dword [ebp - 0x1a5c]
mov dword [ebp - 0x1b94], ecx
mov eax, esi
shld ecx, eax, 2
shl eax, 2
add esi, eax
mov eax, dword [ebp - 0x1b94]
adc eax, ecx
shld eax, esi, 1
mov dword [ebp - 0x1b94], eax
add esi, esi
mov dword [ebp - 0x1bbc], esi
mov eax, edx
shr eax, 0x10
and eax, 0xff
movzx ecx, dx
mov dword [ebp - 0x1b70], ecx
mov dword [ebp - 0x1b6c], 0
imul esi, eax, 0x2004
add esi, dword [ebp - 0x1b88]
mov eax, dword [esi + 0x10]
cdq
push dword [ebp - 0x1b6c]
push ecx
push edx
push eax
call fcn.10059220
mov dword [ebp - 0x1b70], eax
mov dword [ebp - 0x1b6c], edx
add eax, 0x2000
mov dword [ebp - 0x1b70], eax
adc edx, 0
mov dword [ebp - 0x1b6c], edx
push 0
push 0
push edx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10026492
push 0
lea eax, [ebp - 0x1b74]
push eax
push 0x100
lea eax, [ebp - 0x1b68]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10026492
cmp dword [ebp - 0x1b74], 0x100
jne 0x10026492
test dword [ebp - 0x1b2c], 0x80000000
je 0x10026b86
cmp dword [ebp - 0x1b44], 0
jne 0x10026b86
push 0xffffffffffffffff
lea eax, [ebp - 0x1b08]
push eax
push 0x800
lea eax, [ebp - 0x1a24]
push eax
call fcn.1005412d
add esp, 0x10
mov eax, dword [ebp - 0x1b48]
cmp eax, 0x800
jae 0x100269fb
mov byte [ebp + eax - 0x1a24], 0
push 0x2e
lea eax, [ebp - 0x1a24]
push eax
call fcn.10052f50
add esp, 8
mov ecx, eax
mov dword [ebp - 0x1bb8], ecx
test ecx, ecx
je 0x100266f5
xor esi, esi
mov dword [ebp - 0x1b80], esi
cmp esi, 8
jge 0x100266f5
mov eax, dword [ebp + esi*4 - 0x1a44]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100266d4
test dl, dl
je 0x100266d0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100266d4
add ecx, 2
add eax, 2
test dl, dl
jne 0x100266b4
xor eax, eax
jmp 0x100266d9
sbb eax, eax
or eax, 1
test eax, eax
je 0x100266ec
inc esi
mov dword [ebp - 0x1b80], esi
mov ecx, dword [ebp - 0x1bb8]
jmp 0x100266a8
cmp esi, 8
jl 0x10026b86
mov eax, dword [ebx + 0x20c]
cmp eax, 0x28
jae 0x10026713
mov edi, eax
mov dword [ebp - 0x1b78], edi
mov dword [ebp - 0x1bb4], edi
jmp 0x100267a8
mov ecx, 1
mov dword [ebp - 0x1b80], ecx
cmp ecx, 0x28
jge 0x10026762
imul esi, edi, 0x3228
imul edx, ecx, 0x3228
mov eax, dword [edx + ebx + 0x1424]
cmp eax, dword [esi + ebx + 0x1424]
ja 0x1002675f
jb 0x10026751
mov eax, dword [edx + ebx + 0x1420]
cmp eax, dword [esi + ebx + 0x1420]
jae 0x1002675f
mov edi, ecx
mov dword [ebp - 0x1b78], edi
mov dword [ebp - 0x1bb4], edi
inc ecx
jmp 0x10026718
imul eax, edi, 0x3228
mov ecx, dword [ebp - 0x1b84]
cmp ecx, dword [eax + ebx + 0x1424]
ja 0x10026790
jb 0x10026b86
mov ecx, dword [ebp - 0x1bac]
cmp ecx, dword [eax + ebx + 0x1420]
jb 0x10026b86
cmp dword [eax + ebx + 0x3430], 0
je 0x100267a8
add eax, 0x1210
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
imul esi, edi, 0x3228
add esi, ebx
push 0x3228
push 0
lea eax, [esi + 0x210]
push eax
call fcn.10055aa0
add esp, 0xc
mov ecx, dword [ebp - 0x1b30]
test ecx, ecx
jns 0x10026928
test ecx, 0x70000000
jbe 0x10026928
movzx eax, byte [ebp - 0x1b2e]
movzx ecx, cx
mov dword [ebp - 0x1b70], ecx
mov dword [ebp - 0x1b6c], 0
imul esi, eax, 0x2004
add esi, dword [ebp - 0x1b88]
mov eax, dword [esi + 0x10]
cdq
push dword [ebp - 0x1b6c]
push ecx
push edx
push eax
call fcn.10059220
mov dword [ebp - 0x1b70], eax
mov dword [ebp - 0x1b6c], edx
add eax, 0x2000
mov dword [ebp - 0x1b70], eax
adc edx, 0
mov dword [ebp - 0x1b6c], edx
add eax, 0x1c
mov dword [ebp - 0x1b70], eax
adc edx, 0
mov dword [ebp - 0x1b6c], edx
push 0
push 0
push edx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10026b86
mov eax, dword [ebp - 0x1b40]
cmp eax, 0xfff
jle 0x10026872
mov eax, 0xfff
mov dword [ebp - 0x1b40], eax
push 0
lea ecx, [ebp - 0x1b74]
push ecx
push eax
lea eax, [ebp - 0x1224]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10026b86
mov edx, dword [ebp - 0x1b74]
cmp edx, dword [ebp - 0x1b40]
jne 0x10026b86
xor eax, eax
mov dword [ebp - 0x1b80], eax
cmp eax, edx
jae 0x100268e1
mov cl, byte [ebp + eax - 0x1224]
cmp cl, 0x20
jl 0x100268c8
cmp cl, 0x7d
jle 0x100268de
test eax, eax
jle 0x100268d6
cmp byte [ebp + eax - 0x1225], 0x2e
je 0x100268e1
mov byte [ebp + eax - 0x1224], 0x2e
inc eax
jmp 0x100268ad
cmp eax, 0x1000
jae 0x100269fb
mov byte [ebp + eax - 0x1224], 0
imul esi, edi, 0x3228
add esi, ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x1224]
push eax
push 0x1000
lea eax, [esi + 0x1430]
push eax
lea eax, [ebp - 0x1ba4]
push eax
call fcn.1005410f
add esp, 0x14
test eax, eax
jne 0x10026b86
mov edi, dword [ebp - 0x1b2c]
shr edi, 0x1c
and edi, 7
mov eax, dword [ebp - 0x1b3c]
cdq
mov dword [esi + 0x1418], eax
mov dword [esi + 0x141c], edx
mov eax, dword [ebp - 0x1bac]
mov dword [esi + 0x1420], eax
mov eax, dword [ebp - 0x1b84]
mov dword [esi + 0x1424], eax
mov eax, dword [ebp - 0x1bbc]
mov dword [esi + 0x1428], eax
mov ecx, dword [ebp - 0x1b94]
mov dword [esi + 0x142c], ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x1a24]
push eax
push 0x800
lea eax, [esi + 0x210]
push eax
lea eax, [ebp - 0x1ba4]
push eax
call fcn.1005410f
add esp, 0x14
test eax, eax
jne 0x10026b80
mov eax, dword [ebp - 0x1b2c]
and eax, 0xfffffff
push eax
test edi, edi
jne 0x10026a00
add esi, 0x1210
lea eax, [ebp - 0x224]
push eax
push str._sf__06x
push esi
call fcn.10004ed0
push edi
push esi
call fcn.10052944
add esp, 0x18
test eax, eax
je 0x10026b6e
mov edi, dword [ebp - 0x1b78]
mov ecx, dword [ebp - 0x1ba8]
inc ecx
mov dword [ebp - 0x1ba8], ecx
mov edx, dword [ebp - 0x1b90]
jmp 0x10026460
call fcn.10052e6a
lea edi, [esi + 0x1210]
push 0x100e1fb0
push str._sf__06x
push edi
call fcn.10004ed0
mov dword [esi + 0x3430], 1
mov eax, dword [ebp - 0x1b3c]
add eax, 0xa
push eax
call fcn.1005218a
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x1b7c], esi
test esi, esi
je 0x10026b80
movzx eax, byte [ebp - 0x1b2a]
movzx ecx, word [ebp - 0x1b2c]
mov dword [ebp - 0x1b70], ecx
mov dword [ebp - 0x1b6c], 0
imul esi, eax, 0x2004
add esi, dword [ebp - 0x1b88]
mov eax, dword [esi + 0x10]
cdq
push dword [ebp - 0x1b6c]
push ecx
push edx
push eax
call fcn.10059220
mov dword [ebp - 0x1b70], eax
mov dword [ebp - 0x1b6c], edx
add eax, 0x2000
mov dword [ebp - 0x1b70], eax
adc edx, 0
mov dword [ebp - 0x1b6c], edx
push 0
push 0
push edx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10026b80
push 0
lea eax, [ebp - 0x1b74]
push eax
push dword [ebp - 0x1b3c]
push dword [ebp - 0x1b7c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10026b80
mov eax, dword [ebp - 0x1b74]
cmp eax, dword [ebp - 0x1b3c]
jne 0x10026b80
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1b98], edi
cmp edi, 0xffffffff
je 0x10026b80
push 0
lea eax, [ebp - 0x1b74]
push eax
push dword [ebp - 0x1b3c]
mov esi, dword [ebp - 0x1b7c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10026b80
mov eax, dword [ebp - 0x1b74]
cmp eax, dword [ebp - 0x1b3c]
jne 0x10026b80
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1b98], 0xffffffff
push esi
call fcn.10052152
add esp, 4
mov dword [ebp - 0x1b7c], 0
mov dword [ebp - 0x1b7c], 0
mov eax, dword [ebx + 0x20c]
cmp eax, 0x28
jae 0x10026b80
inc eax
mov dword [ebx + 0x20c], eax
mov edi, dword [ebp - 0x1b78]
mov ecx, dword [ebp - 0x1ba8]
inc ecx
mov dword [ebp - 0x1ba8], ecx
mov edx, dword [ebp - 0x1b90]
jmp 0x10026460
mov dword [ebp - 4], 0
call fcn.10026bb8
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10026c79
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret