Function at 0x10018874
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e60b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10018aa0
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x100189d5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1044a69c]
and eax, 1
jne 0x10018908
mov eax, dword [0x1044a69c]
or eax, 1
mov dword [0x1044a69c], eax
and dword [ebp - 4], 0
mov ecx, 0x1044a614
call fcn.10018d77
push 0x1005f739
call fcn.1004705a
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x1044a614
call fcn.10018e2e
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x1044a614
call fcn.10018e3c
mov ecx, eax
call fcn.10018fbf
movzx eax, al
test eax, eax
je 0x10018963
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x1044a614
call fcn.10018fd2
mov ecx, dword [ebp - 0x24]
mov ax, word [eax]
mov word [ecx], ax
jmp 0x10018ad4
mov eax, dword [ebp - 0x18]
push dword [eax]
lea eax, [ebp - 0x8c]
push eax
call fcn.10017ded
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
call fcn.10001fdb
mov ax, word [eax]
mov word [ebp - 0x14], ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10001fd1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x1044a614
call fcn.10018fd2
mov cx, word [ebp - 0x14]
mov word [eax], cx
mov eax, dword [ebp - 0x24]
mov cx, word [ebp - 0x14]
mov word [eax], cx
jmp 0x10018ad4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10018a9e
mov dword [ebp - 0x28], 0x66bc
mov dword [ebp - 0x58], str.oewwo_mtcaqqej_zdn_rjzo_yclohvu_caadrly_bgpicat_tkdpyzilk
cmp dword [ebp - 0x28], 0x67c0
jle 0x10018a53
and dword [ebp - 0x1c], 0
jmp 0x10018a13
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1b82
jge 0x10018a53
and dword [ebp - 0x20], 0
jmp 0x10018a29
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x388a
jge 0x10018a51
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov ecx, 0x100788d8
call fcn.10001e5c
jmp 0x10018a22
jmp 0x10018a0c
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x28], 0x63dc
jge 0x10018a78
mov edx, dword [ebp - 0x58]
mov ecx, 0x100788d8
call fcn.10003d65
jmp 0x10018a94
or dword [ebp - 4], 0xffffffff
jmp 0x10018a9e
jmp 0x10018ad4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
push 0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push 0x20d
push 0x5fdc
push dword [ebp - 0x64]
push 0x4b4a
call fcn.10017e99
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret