Function at 0x1000d5f1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100563f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1000d83e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1000d822
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.1000195c
push 0
mov ecx, dword [ebp - 0x24]
call fcn.1000195c
mov dword [eax], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jg 0x1000d740
mov dword [ebp - 0x28], 1
jmp 0x1000d744
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x7cec
jne 0x1000d756
mov dword [ebp - 0x34], 1
jmp 0x1000d75a
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
je 0x1000d775
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1000d775
mov dword [ebp - 0x44], 1
jmp 0x1000d779
and dword [ebp - 0x44], 0
push 0
mov ecx, dword [ebp - 0x20]
call fcn.1000195c
mov ecx, dword [ebp - 0x44]
imul ecx, dword [eax]
cmp ecx, 0xfffe
jb 0x1000d7a2
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1000d7a2
mov dword [ebp - 0x2c], 1
jmp 0x1000d7a6
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x24]
call fcn.1000195c
mov esi, eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.1000195c
mov ecx, dword [esi]
imul ecx, dword [eax]
cmp ecx, 0xb38d6aea
jae 0x1000d7da
mov dword [ebp - 0x30], 1
jmp 0x1000d7de
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jl 0x1000d7ee
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
push 1
mov ecx, dword [ebp - 0x24]
call fcn.1000195c
mov eax, dword [eax]
sub eax, 3
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jl 0x1000d80d
mov dword [ebp - 0x38], 1
jmp 0x1000d811
and dword [ebp - 0x38], 0
push 1
mov ecx, dword [ebp - 0x70]
call fcn.1000195c
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x1000d839
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x1000d957
mov dword [ebp - 0x48], 0x7e25
mov dword [ebp - 0x90], str.iwatw_zoff_objjqb_fidqdb_ojwxe_ocnkzz_vyfuwhu_ifsadyiqk_kfs_vbumw_zsvvaypiw
cmp dword [ebp - 0x48], 0x7f07
jle 0x1000d8e6
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
and dword [ebp - 0x1c], 0
jmp 0x1000d871
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x30ff
jge 0x1000d8e6
and dword [ebp - 0x18], 0
jmp 0x1000d887
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x9ff
jge 0x1000d8e4
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x18]
mov eax, edx
cdq
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xd8]
call fcn.10002462
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.10003dca
push eax
call fcn.1003eb1f
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.10003dc0
jmp 0x1000d880
jmp 0x1000d86a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x98], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x7d95
jge 0x1000d908
push dword [ebp - 0x90]
call fcn.1003eb1f
pop ecx
jmp 0x1000d924
or dword [ebp - 4], 0xffffffff
jmp 0x1000d92e
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x98]
push 0xe61
push 0x5cb
push dword [ebp - 0xa0]
push 0
call fcn.1001102d
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret