Function at 0x1001bdc6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006147a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov byte [esp + 0x10], dl
je 0x1001bfdd
test dl, dl
je 0x1001be27
cmp byte [ecx], 0
je 0x1001c01a
push 0x163f
push 0x44b2
xor ebx, ebx
inc ebx
push 0x77cf
push 0
mov dl, bl
mov cl, bl
call fcn.1001eb71
add esp, 0x10
jmp 0x1001c01a
mov dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], 0x74be76d2
xor ebx, ebx
mov dword [esp + 0x24], 0xaeba4d3e
inc ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x40], 0xfffffff6
push ebx
call fcn.100013b5
xor esi, esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x3c], 0xfffffff8
mov dword [esp + 0x38], 0x8993
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], 0x2230
cmp dword [esp + 0x38], 0x2607
jle 0x1001bf2f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, esi
mov dword [esp + 0x34], esi
mov ecx, esi
mov dword [esp + 0x30], esi
mov eax, edi
mov dword [esp + 0x14], esi
cdq
idiv ecx
mov eax, esi
mov ecx, edx
mov dword [esp + 0x2c], ecx
mov edi, eax
mov dword [esp + 0x28], 0x6445
mov eax, edi
or eax, ecx
lea ecx, [esp + 0x50]
cdq
push edx
push eax
call fcn.10001311
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001bed5
mov eax, dword [eax]
push eax
call fcn.10048d40
pop ecx
push esi
push ebx
lea ecx, [esp + 0x58]
call fcn.10001516
mov ecx, dword [esp + 0x2c]
dec edi
dec dword [esp + 0x28]
jne 0x1001bebb
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x50a7
jl 0x1001beb1
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0x3c2c
jl 0x1001bea0
inc edi
mov dword [esp + 0x34], edi
cmp edi, 0x336e
jl 0x1001be9a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x38], 0x2186
jge 0x1001bf48
push str.jdbmf_ptmjs_vsymoq_tviiuayel_leejc_hlihpkdke_ncokriofg_mlraxhrd_srbzkl_pxztbpfin_lwifgvlx_znevcucjk_gsdqwjk
call fcn.10048d40
pop ecx
mov dword [esp + 0x14], esi
jmp 0x1001bf61
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xd5467356
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jl 0x1001bf4e
mov eax, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
cmp ecx, dword [eax]
setle dl
imul eax, edx, 0xffff
cmp dword [esp + 0x18], eax
jle 0x1001bfb2
mov edx, esi
cmp dword [esp + 0x20], esi
je 0x1001bfb4
mov edx, ebx
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp edx, eax
setle cl
cmp ecx, dword [esp + 0x20]
jl 0x1001bfcb
cmp dword [esp + 0x24], esi
je 0x1001bfcd
mov esi, ebx
push dword [esp + 0x44]
mov dword [esp + 0x1c], esi
call fcn.10048e11
pop ecx
jmp 0x1001c01a
xor esi, esi
cmp byte [ebp + 8], 0
je 0x1001bff9
push esi
push esi
push 0x18dd
push 0x1eb6
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1001c01a
mov eax, dword [ebp + 0xc]
mov dword [eax], 3
jmp 0x1001c016
mov dword [esp + 0x40], 0x351cdcb3
mov dword [esp + 0x40], 0xccce1e2c
dec dword [eax]
cmp dword [eax], esi
jge 0x1001c004
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret