Function at 0x10018551
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064287
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x154
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x40]
test eax, eax
je 0x100186f6
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x100186ce
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
inc eax
cmp eax, 0x34cc
jl 0x10018660
mov dword [ebp - 0x5c], 1
jmp 0x10018664
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x4c]
imul ecx, dword [eax]
mov eax, dword [ebp - 0x6c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
imul ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0xf0]
mov edx, dword [edx]
add edx, dword [eax]
cmp edx, ecx
je 0x100186a6
mov dword [ebp - 0x64], 1
jmp 0x100186aa
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
jne 0x100186bd
mov dword [ebp - 0x44], 1
jmp 0x100186c1
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x100186f1
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100186f1
push 0
push 0x224
push 0x1bc0
push 0x1bfc
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
jmp 0x10018b48
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc0], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x48], 0x278d
mov dword [ebp - 0xb8], str.dmesw_adebqjf_nerb_flbgfewlt_cbbl_aldmtjn_bvahi_oydqpmgu_lqerrn
cmp dword [ebp - 0x48], 0x2980
jle 0x1001882a
and dword [ebp - 0x2c], 0
jmp 0x1001876f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6822
jge 0x1001882a
and dword [ebp - 0x24], 0
jmp 0x10018789
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2376
jge 0x10018825
and dword [ebp - 0x1c], 0
jmp 0x100187a3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4c80
jge 0x10018820
and dword [ebp - 0x20], 0
jmp 0x100187b9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x55c0
jge 0x1001881b
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
shl eax, cl
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], edx
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
lea ecx, [ebp - 0x14c]
call fcn.10001a31
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
call fcn.10001e4d
push eax
call fcn.1004b116
pop ecx
lea ecx, [ebp - 0x14c]
call fcn.10001e43
jmp 0x100187b2
jmp 0x1001879c
jmp 0x10018782
jmp 0x10018768
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xec], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x24b6
jge 0x1001884c
push dword [ebp - 0xb8]
call fcn.1004b116
pop ecx
jmp 0x10018868
or dword [ebp - 4], 0xffffffff
jmp 0x10018872
mov eax, dword [ebp - 0xf8]
movzx eax, byte [eax]
test eax, eax
je 0x10018ae8
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x50], 0x7d73
mov dword [ebp - 0xb4], str.hyfbn_gxufsy_xevgmj_jxr_gqnig_hpidlkifx_msgtl_nfahfpc_blrs
cmp dword [ebp - 0x50], 0x7e15
jle 0x100189ab
and dword [ebp - 0x28], 0
jmp 0x1001892f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7e38
jge 0x100189a3
and dword [ebp - 0x30], 0
jmp 0x10018945
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x27a4
jge 0x100189a1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
shl eax, cl
cdq
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edx
push dword [ebp - 0x124]
push dword [ebp - 0x128]
lea ecx, [ebp - 0x164]
call fcn.10001a31
pop ecx
pop ecx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.10001e4d
push eax
call fcn.1004b116
pop ecx
lea ecx, [ebp - 0x164]
call fcn.10001e43
jmp 0x1001893e
jmp 0x10018928
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x50], 0x7a6e
jge 0x100189d0
push dword [ebp - 0xb4]
call fcn.1004b116
pop ecx
jmp 0x100189ec
or dword [ebp - 4], 0xffffffff
jmp 0x100189f6
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0xffffffff
je 0x10018a21
mov dword [ebp - 0x40], 1
jmp 0x10018a25
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
je 0x10018a3c
push 1
mov ecx, dword [ebp - 0x58]
call fcn.10001ffb
cmp dword [eax], 0
jne 0x10018a43
push 9
pop eax
test eax, eax
je 0x10018a58
mov eax, 0xdf2f
test eax, eax
je 0x10018a58
mov dword [ebp - 0xcc], 1
jmp 0x10018a5f
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
sub eax, 0x76624ddf
je 0x10018a78
push 1
mov ecx, dword [ebp - 0x58]
call fcn.10001ffb
mov eax, dword [ebp - 0x38]
imul eax, dword [eax], 0xffffffff
mov ecx, dword [ebp - 0x38]
cmp eax, dword [ecx]
je 0x10018a8e
mov dword [ebp - 0x60], 1
jmp 0x10018a92
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x60]
je 0x10018ab3
mov dword [ebp - 0x3c], 1
jmp 0x10018ab7
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
cmp dword [ebp - 0x3c], 0
jb 0x10018ad4
mov eax, 0xffff
test eax, eax
jne 0x10018ad4
and dword [ebp - 0x70], 0
jmp 0x10018adb
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
jmp 0x10018b48
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10018b2b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x10018b48
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x10c]
call fcn.10001ffb
and dword [eax], 0
jmp 0x10018b20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret