Function at 0x10010140
Capabilities:
Create thread
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100419bd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1005a050]
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 dword [ebp - 0x44], edx
mov ebx, ecx
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x1001017a
mov eax, dword [ebx]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, dword [ebp - 0x44]
je 0x1001033e
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x100101ba
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
mov ecx, dword [ebx + 0x10]
mov esi, 0x7fffffff
mov eax, esi
sub eax, ecx
cmp eax, 0x4f
jb 0x1001035a
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x100101e2
mov eax, dword [ebx]
push ecx
push eax
push 0x4f
push str.Dosya_boyutu_hatal
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.10011470
push 0
push 0
push 0
push 0x1000cf40
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x200030
cmovae eax, dword [ebp - 0x40]
push str.Uyar
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x1001023b
mov eax, dword [ebx]
push eax
call edi
mov ecx, dword [ebx + 0x10]
sub esi, ecx
test eax, eax
je 0x100102b5
cmp esi, 0x19
jb 0x1001035f
cmp dword [ebx + 0x14], 0x10
jb 0x10010258
mov ebx, dword [ebx]
push ecx
push ebx
push 0x19
push str.Dosya_ba
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.10011470
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x40
cmovae eax, dword [ebp - 0x28]
push str.Bilgi
push eax
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100102f9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100102ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010364
jmp 0x100102ef
cmp esi, 0x22
jb 0x10010369
cmp dword [ebx + 0x14], 0x10
jb 0x100102c6
mov ebx, dword [ebx]
push ecx
push ebx
push 0x22
push str.Dosya_silinirken_bir_hata_olu
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.10011470
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x10
cmovae eax, dword [ebp - 0x28]
push str.Hata
jmp 0x1001027f
push edx
push ecx
call fcn.1001e5ae
add esp, 8
push 0
push 0
push 0
push 0x1000cf40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1001033e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010334
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010364
push edx
push ecx
call fcn.1001e5ae
add esp, 8
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.1001e256
mov esp, ebp
pop ebp
ret
call fcn.10001450
call fcn.10001450
call fcn.10022c78
call fcn.10001450
int3