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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003120d
mov eax, dword fs:[0]
push eax
mov eax, 0x210c
call fcn.100137b0
mov eax, dword [0x10046070]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x2118], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2000
lea eax, [ebp - 0x2050]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.100159a0
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0x14]
lea ecx, [ebp - 0x2050]
call fcn.1000a110
add esp, 0xc
lea eax, [ebp - 0x20b8]
push eax
call fcn.10018050
add esp, 4
lea eax, [ebp - 0x20b8]
push eax
lea eax, [ebp - 0x20dc]
push eax
call fcn.1001831c
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.100159a0
add esp, 0x14
lea eax, [ebp - 0x50]
push dword [ebp - 0x20dc]
push dword [ebp - 0x20d8]
push dword [ebp - 0x20d4]
push str.__02d:_02d:_02d_
push eax
call fcn.1000ebd0
add esp, 0x14
lea ecx, [ebp - 0x2098]
call fcn.1000a390
lea eax, [ebp - 0x2098]
mov byte [ebp - 4], 1
push eax
mov edx, 0x10041bd4
lea ecx, [ebp - 0x2114]
call fcn.1000ebf0
add esp, 4
push 0x10041bd0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20fc]
call fcn.1000eaa0
add esp, 4
lea ecx, [ebp - 0x2098]
push eax
call fcn.1000c870
mov eax, dword [ebp - 0x20e8]
cmp eax, 0x10
jb 0x1000bf0b
mov ecx, dword [ebp - 0x20fc]
inc eax
cmp eax, 0x1000
jb 0x1000bf02
test cl, 0x1f
je 0x1000bede
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000beea
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x1000bef6
call fcn.10017f81
cmp ecx, 0x23
jbe 0x1000bf00
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2100]
mov dword [ebp - 0x20e8], 0xf
mov dword [ebp - 0x20ec], 0
mov byte [ebp - 0x20fc], 0
cmp eax, 0x10
jb 0x1000bf7a
mov ecx, dword [ebp - 0x2114]
inc eax
cmp eax, 0x1000
jb 0x1000bf71
test cl, 0x1f
je 0x1000bf4d
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000bf59
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x1000bf65
call fcn.10017f81
cmp ecx, 0x23
jbe 0x1000bf6f
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
push dword [ebp + 0x10]
lea eax, [ebp - 0x2080]
push eax
call fcn.1000c520
lea eax, [ebp - 0x2080]
mov byte [ebp - 4], 3
push eax
mov edx, 0x10041bd4
lea ecx, [ebp - 0x2114]
call fcn.1000ebf0
add esp, 4
push 0x10041bd0
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20fc]
call fcn.1000eaa0
add esp, 4
lea ecx, [ebp - 0x2080]
push eax
call fcn.1000c870
mov eax, dword [ebp - 0x20e8]
cmp eax, 0x10
jb 0x1000c01c
mov ecx, dword [ebp - 0x20fc]
inc eax
cmp eax, 0x1000
jb 0x1000c013
test cl, 0x1f
je 0x1000bfef
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000bffb
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x1000c007
call fcn.10017f81
cmp ecx, 0x23
jbe 0x1000c011
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2100]
mov dword [ebp - 0x20e8], 0xf
mov dword [ebp - 0x20ec], 0
mov byte [ebp - 0x20fc], 0
cmp eax, 0x10
jb 0x1000c08b
mov ecx, dword [ebp - 0x2114]
inc eax
cmp eax, 0x1000
jb 0x1000c082
test cl, 0x1f
je 0x1000c05e
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000c06a
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x1000c076
call fcn.10017f81
cmp ecx, 0x23
jbe 0x1000c080
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov dword [ebp - 0x2054], 0xf
mov dword [ebp - 0x2058], 0
mov byte [ebp - 0x2068], 0
mov byte [ebp - 4], 5
cmp byte [ebp - 0x50], 0
jne 0x1000c0b4
xor ecx, ecx
jmp 0x1000c0c9
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c0c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2068]
call fcn.10009180
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2098]
push ecx
mov ecx, eax
call fcn.100092b0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2080]
push ecx
mov ecx, eax
call fcn.100092b0
push 2
push 0x10041bd8
mov ecx, eax
call fcn.10009180
cmp byte [ebp - 0x2050], 0
mov esi, eax
jne 0x1000c11a
xor ecx, ecx
jmp 0x1000c12c
lea ecx, [ebp - 0x2050]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c123
sub ecx, edx
push ecx
lea eax, [ebp - 0x2050]
mov ecx, esi
push eax
call fcn.10009180
cmp dword [edi + 0x78], 0
je 0x1000c3b9
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1000c162
mov eax, dword [edx]
jmp 0x1000c164
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x1000c170
xor ecx, ecx
jmp 0x1000c17e
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c175
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.10008f50
call fcn.1000c5e0
test eax, eax
je 0x1000c3b9
push 1
push 0x10041bdc
lea ecx, [ebp - 0x2068]
call fcn.10009180
cmp dword [edi + 0x70], 0
lea esi, [edi + 0x60]
jne 0x1000c2b8
cmp dword [edi + 0x40], 0
jne 0x1000c259
lea ecx, [ebp - 0x20b0]
call fcn.1000a470
push str.Logs
lea ecx, [ebp - 0x20b0]
mov byte [ebp - 4], 6
call fcn.10008900
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1000c1f9
mov eax, dword [ecx]
jmp 0x1000c1fb
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x20b0]
push 0
push eax
call fcn.10009050
call fcn.1000ae30
add esp, 0x18
test eax, eax
jne 0x1000c233
sub esp, 0x18
lea eax, [ebp - 0x20b0]
mov ecx, esp
push eax
call fcn.10008a90
call fcn.1000aeb0
add esp, 0x18
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x20b0]
cmp ecx, eax
je 0x1000c24a
push 0xffffffffffffffff
push 0
push eax
call fcn.10009050
lea ecx, [ebp - 0x20b0]
mov byte [ebp - 4], 5
call fcn.10008940
cmp dword [edi + 0x58], 0
jne 0x1000c27e
lea ecx, [ebp - 0x2114]
call fcn.1000a390
push eax
lea ecx, [edi + 0x48]
call fcn.1000c870
lea ecx, [ebp - 0x2114]
call fcn.10008940
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x30]
mov ecx, esi
push eax
call fcn.100092b0
push 1
push 0x100419f0
mov ecx, eax
call fcn.10009180
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x48]
push ecx
mov ecx, eax
call fcn.100092b0
push 4
push str..log
mov ecx, eax
call fcn.10009180
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.10009050
call fcn.1000ad20
add esp, 0x18
test eax, eax
jne 0x1000c2ee
cmp dword [esi + 0x14], 0x10
jb 0x1000c33f
mov ecx, dword [esi]
jmp 0x1000c341
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.10009050
call fcn.1000ac90
and eax, 0xfff00000
add esp, 0x18
cmp eax, 0xa00000
jb 0x1000c34a
cmp dword [esi + 0x14], 0x10
jb 0x1000c32c
mov eax, dword [esi]
jmp 0x1000c32e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], 0x10
jb 0x1000c33f
mov ecx, dword [esi]
jmp 0x1000c341
mov ecx, esi
push ecx
call fcn.1000a900
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x20e0], 0
jb 0x1000c35c
mov esi, dword [esi]
push 0x10041bf0
lea eax, [ebp - 0x20e0]
push esi
push eax
call fcn.1001b39b
add esp, 0xc
test eax, eax
jne 0x1000c3b9
push dword [ebp - 0x20e0]
cmp dword [ebp - 0x2054], 0x10
lea eax, [ebp - 0x2068]
push 1
push dword [ebp - 0x2058]
cmovae eax, dword [ebp - 0x2068]
push eax
call fcn.1001b1d4
push dword [ebp - 0x20e0]
call fcn.10018883
add esp, 0x14
push dword [ebp - 0x20e0]
call fcn.10018952
add esp, 4
mov eax, dword [ebp - 0x2054]
cmp eax, 0x10
jb 0x1000c409
mov ecx, dword [ebp - 0x2068]
inc eax
cmp eax, 0x1000
jb 0x1000c400
test cl, 0x1f
je 0x1000c3dc
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000c3e8
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x1000c3f4
call fcn.10017f81
cmp ecx, 0x23
jbe 0x1000c3fe
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov eax, dword [ebp - 0x206c]
mov dword [ebp - 0x2054], 0xf
mov dword [ebp - 0x2058], 0
mov byte [ebp - 0x2068], 0
cmp eax, 0x10
jb 0x1000c474
mov ecx, dword [ebp - 0x2080]
inc eax
cmp eax, 0x1000
jb 0x1000c46b
test cl, 0x1f
je 0x1000c447
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000c453
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x1000c45f
call fcn.10017f81
cmp ecx, 0x23
jbe 0x1000c469
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov eax, dword [ebp - 0x2084]
mov dword [ebp - 0x206c], 0xf
mov dword [ebp - 0x2070], 0
mov byte [ebp - 0x2080], 0
cmp eax, 0x10
jb 0x1000c4df
mov ecx, dword [ebp - 0x2098]
inc eax
cmp eax, 0x1000
jb 0x1000c4d6
test cl, 0x1f
je 0x1000c4b2
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000c4be
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x1000c4ca
call fcn.10017f81
cmp ecx, 0x23
jbe 0x1000c4d4
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
push edi
mov dword [ebp - 0x2084], 0xf
mov dword [ebp - 0x2088], 0
mov byte [ebp - 0x2098], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.1001266f
mov esp, ebp
pop ebp
ret