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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003082d
mov eax, dword fs:[0]
push eax
mov eax, 0x210c
call fcn.10012ef0
mov eax, dword [0x10044070]
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.100150e0
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.100177b0
add esp, 4
lea eax, [ebp - 0x20b8]
push eax
lea eax, [ebp - 0x20dc]
push eax
call fcn.10017a7c
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.100150e0
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.1000e3f0
add esp, 0x14
lea ecx, [ebp - 0x2098]
call fcn.1000a370
lea eax, [ebp - 0x2098]
mov byte [ebp - 4], 1
push eax
mov edx, 0x10040b94
lea ecx, [ebp - 0x2114]
call fcn.1000e410
add esp, 4
push 0x10040b90
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20fc]
call fcn.1000e2c0
add esp, 4
lea ecx, [ebp - 0x2098]
push eax
call fcn.1000c090
mov eax, dword [ebp - 0x20e8]
cmp eax, 0x10
jb 0x1000b72b
mov ecx, dword [ebp - 0x20fc]
inc eax
cmp eax, 0x1000
jb 0x1000b722
test cl, 0x1f
je 0x1000b6fe
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000b70a
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1000b716
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1000b720
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x1000b79a
mov ecx, dword [ebp - 0x2114]
inc eax
cmp eax, 0x1000
jb 0x1000b791
test cl, 0x1f
je 0x1000b76d
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000b779
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1000b785
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1000b78f
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
add esp, 4
push dword [ebp + 0x10]
lea eax, [ebp - 0x2080]
push eax
call fcn.1000bd40
lea eax, [ebp - 0x2080]
mov byte [ebp - 4], 3
push eax
mov edx, 0x10040b94
lea ecx, [ebp - 0x2114]
call fcn.1000e410
add esp, 4
push 0x10040b90
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20fc]
call fcn.1000e2c0
add esp, 4
lea ecx, [ebp - 0x2080]
push eax
call fcn.1000c090
mov eax, dword [ebp - 0x20e8]
cmp eax, 0x10
jb 0x1000b83c
mov ecx, dword [ebp - 0x20fc]
inc eax
cmp eax, 0x1000
jb 0x1000b833
test cl, 0x1f
je 0x1000b80f
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000b81b
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1000b827
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1000b831
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x1000b8ab
mov ecx, dword [ebp - 0x2114]
inc eax
cmp eax, 0x1000
jb 0x1000b8a2
test cl, 0x1f
je 0x1000b87e
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000b88a
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1000b896
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1000b8a0
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x1000b8d4
xor ecx, ecx
jmp 0x1000b8e9
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b8e0
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 0x10040b98
mov ecx, eax
call fcn.10009180
cmp byte [ebp - 0x2050], 0
mov esi, eax
jne 0x1000b93a
xor ecx, ecx
jmp 0x1000b94c
lea ecx, [ebp - 0x2050]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b943
sub ecx, edx
push ecx
lea eax, [ebp - 0x2050]
mov ecx, esi
push eax
call fcn.10009180
cmp dword [edi + 0x78], 0
je 0x1000bbd9
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1000b982
mov eax, dword [edx]
jmp 0x1000b984
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x1000b990
xor ecx, ecx
jmp 0x1000b99e
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b995
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.10008f50
call fcn.1000be00
test eax, eax
je 0x1000bbd9
push 1
push 0x10040b9c
lea ecx, [ebp - 0x2068]
call fcn.10009180
cmp dword [edi + 0x70], 0
lea esi, [edi + 0x60]
jne 0x1000bad8
cmp dword [edi + 0x40], 0
jne 0x1000ba79
lea ecx, [ebp - 0x20b0]
call fcn.1000a450
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 0x1000ba19
mov eax, dword [ecx]
jmp 0x1000ba1b
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x20b0]
push 0
push eax
call fcn.10009050
call fcn.1000a7e0
add esp, 0x18
test eax, eax
jne 0x1000ba53
sub esp, 0x18
lea eax, [ebp - 0x20b0]
mov ecx, esp
push eax
call fcn.10008a90
call fcn.1000a860
add esp, 0x18
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x20b0]
cmp ecx, eax
je 0x1000ba6a
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 0x1000ba9e
lea ecx, [ebp - 0x2114]
call fcn.1000a370
push eax
lea ecx, [edi + 0x48]
call fcn.1000c090
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 0x100409c0
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.1000a6d0
add esp, 0x18
test eax, eax
jne 0x1000bb0e
cmp dword [esi + 0x14], 0x10
jb 0x1000bb5f
mov ecx, dword [esi]
jmp 0x1000bb61
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.1000a640
and eax, 0xfff00000
add esp, 0x18
cmp eax, 0xa00000
jb 0x1000bb6a
cmp dword [esi + 0x14], 0x10
jb 0x1000bb4c
mov eax, dword [esi]
jmp 0x1000bb4e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], 0x10
jb 0x1000bb5f
mov ecx, dword [esi]
jmp 0x1000bb61
mov ecx, esi
push ecx
call fcn.1000a5e0
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x20e0], 0
jb 0x1000bb7c
mov esi, dword [esi]
push 0x10040bb0
lea eax, [ebp - 0x20e0]
push esi
push eax
call fcn.1001ab16
add esp, 0xc
test eax, eax
jne 0x1000bbd9
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.1001a94f
push dword [ebp - 0x20e0]
call fcn.10017fe3
add esp, 0x14
push dword [ebp - 0x20e0]
call fcn.100180b2
add esp, 4
mov eax, dword [ebp - 0x2054]
cmp eax, 0x10
jb 0x1000bc29
mov ecx, dword [ebp - 0x2068]
inc eax
cmp eax, 0x1000
jb 0x1000bc20
test cl, 0x1f
je 0x1000bbfc
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000bc08
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1000bc14
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1000bc1e
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x1000bc94
mov ecx, dword [ebp - 0x2080]
inc eax
cmp eax, 0x1000
jb 0x1000bc8b
test cl, 0x1f
je 0x1000bc67
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000bc73
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1000bc7f
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1000bc89
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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 0x1000bcff
mov ecx, dword [ebp - 0x2098]
inc eax
cmp eax, 0x1000
jb 0x1000bcf6
test cl, 0x1f
je 0x1000bcd2
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000bcde
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1000bcea
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1000bcf4
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
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.10011dd0
mov esp, ebp
pop ebp
ret