Function at 0x10058873
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push esi
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x100], 0xfffffff7
mov dword [ebp - 0x2c], 0
jmp 0x100588b3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x100588c6
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x14], 0x6e83
jmp 0x100588ac
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
jne 0x100589d9
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
jbe 0x100588f0
mov dword [ebp - 0xfc], 1
jmp 0x100588f7
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 1
jg 0x1005890c
mov dword [ebp - 0x108], 1
jmp 0x10058913
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x108], eax
jg 0x1005892e
mov dword [ebp - 0x54], 1
jmp 0x10058932
and dword [ebp - 0x54], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp eax, dword [ebp - 0x54]
jg 0x1005894d
mov dword [ebp - 0x12c], 1
jmp 0x10058954
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0xde6b
jg 0x10058970
mov dword [ebp - 0x114], 1
jmp 0x10058977
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x1c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x1c], eax
jge 0x10058998
mov dword [ebp - 0x5c], 1
jmp 0x1005899c
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp eax, dword [ebp - 0x5c]
jl 0x100589b7
mov dword [ebp - 0xe0], 1
jmp 0x100589be
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
imul eax, dword [ebp - 0xe0]
test eax, eax
jne 0x100589d9
and dword [ebp - 0x64], 0
jmp 0x100589e0
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x178], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x174], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
je 0x10058c18
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x40], 0xc2f00273
mov dword [ebp - 0xcc], 0xc1a1fd29
mov dword [ebp - 0x160], 0xb3533b01
mov dword [ebp - 0x15c], 0xb3533b01
mov dword [ebp - 0x158], 0xb3533b01
mov dword [ebp - 0x154], 0xb3533b01
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x168], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
cmp dword [ebp + eax - 0x14], ecx
jne 0x10058a77
mov dword [ebp - 0x6c], 1
jmp 0x10058a7b
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x6c], eax
je 0x10058a92
cmp dword [ebp - 0x18], 0
jne 0x10058a92
and dword [ebp - 0xe8], 0
jmp 0x10058a9c
mov dword [ebp - 0xe8], 1
cmp dword [ebp - 0xe8], 0
je 0x10058aae
mov dword [ebp - 0x74], 1
jmp 0x10058ab2
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x74]
jne 0x10058ac6
mov dword [ebp - 0x110], 1
jmp 0x10058acd
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x8e1
jg 0x10058ae2
mov dword [ebp - 0x7c], 1
jmp 0x10058ae6
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0xfff8
ja 0x10058afb
mov dword [ebp - 0xf0], 1
jmp 0x10058b02
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x18]
jg 0x10058b1c
mov dword [ebp - 0x134], 1
jmp 0x10058b23
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x1c], eax
je 0x10058b40
mov dword [ebp - 0x84], 1
jmp 0x10058b47
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x18]
jne 0x10058b61
cmp dword [ebp - 0x18], 0
jne 0x10058b61
and dword [ebp - 0xc8], 0
jmp 0x10058b6b
mov dword [ebp - 0xc8], 1
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x40], eax
jle 0x10058b88
mov dword [ebp - 0x8c], 1
jmp 0x10058b8f
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x10058bb3
cmp dword [ebp - 0x1c], 0
jne 0x10058bb3
and dword [ebp - 0x94], 0
jmp 0x10058bbd
mov dword [ebp - 0x94], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x94], eax
jge 0x10058bdb
mov dword [ebp - 0x13c], 1
jmp 0x10058be2
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x164], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp + ecx - 0x160], eax
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10058c16
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10058c4d
mov dword [ebp - 0x1c], 0
jmp 0x10058c28
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffef
jle 0x10058c4d
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10058c4b
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x10058c21
mov eax, dword [ebp + 8]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x24], 0xc0ce695e
mov dword [ebp - 0x28], 0x35555d5d
mov dword [ebp - 0xac], 0xdcede6a6
mov dword [ebp - 0xc0], 0x5b818e96
push 4
lea ecx, [ebp - 0x120]
call fcn.10019689
and dword [ebp - 4], 0
mov dword [ebp - 0x138], 1
mov dword [ebp - 0xbc], 0xfffffffa
mov dword [ebp - 0x44], 0xdcdedc29
mov dword [ebp - 0xb0], 0x8019
mov dword [ebp - 0x10], 0
jmp 0x10058cbe
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x10058cd1
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x3c], 0xb770a77c
jmp 0x10058cb7
mov dword [ebp - 0x10], 0
jmp 0x10058ce1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10058cf7
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x150], 0x5a0349b8
jmp 0x10058cda
mov dword [ebp - 0x10], 0
jmp 0x10058d07
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x10058d23
push dword [ebp - 0x10]
lea ecx, [ebp - 0x120]
call fcn.10019727
mov dword [eax], 0x431bb57c
jmp 0x10058d00
mov dword [ebp - 0x10], 0
jmp 0x10058d33
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10058d49
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x128], 0xde87
jmp 0x10058d2c
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x3c], 0
jne 0x10058d61
mov dword [ebp - 0xa0], 1
jmp 0x10058d68
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x180], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x16c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x17c], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x3c], 0x8552ad14
jbe 0x10058db3
mov dword [ebp - 0xd4], 1
jmp 0x10058dba
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xd4], eax
jge 0x10058dd1
mov dword [ebp - 0x9c], 1
jmp 0x10058dd8
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10058df6
cmp dword [ebp - 0x24], 0
jne 0x10058df6
and dword [ebp - 0xdc], 0
jmp 0x10058e00
mov dword [ebp - 0xdc], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0xdc], eax
jne 0x10058e1e
mov dword [ebp - 0xa4], 1
jmp 0x10058e25
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xa4], eax
je 0x10058e42
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x3c], 0
jne 0x10058e42
and dword [ebp - 0x48], 0
jmp 0x10058e49
mov dword [ebp - 0x48], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x150], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x48], eax
jg 0x10058e72
mov dword [ebp - 0xe4], 1
jmp 0x10058e79
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
push 4
pop ecx
imul ecx, ecx, 3
add eax, dword [ebp + ecx - 0x3c]
jne 0x10058ea3
mov dword [ebp - 0xec], 1
jmp 0x10058eaa
and dword [ebp - 0xec], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3c]
mov eax, dword [ebp - 0x24]
push 4
pop ecx
shl ecx, 1
sub eax, dword [ebp + ecx - 0x3c]
cmp eax, dword [ebp - 0x28]
jg 0x10058ed0
mov dword [ebp - 0xb4], 1
jmp 0x10058ed7
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x3c], 0xd319
je 0x10058efe
mov dword [ebp - 0x144], 1
jmp 0x10058f05
and dword [ebp - 0x144], 0
imul eax, dword [ebp - 0x24], 3
test eax, eax
je 0x10058f2b
push 0
lea ecx, [ebp - 0x120]
call fcn.10019727
cmp dword [eax], 0
je 0x10058f2b
mov dword [ebp - 0x130], 1
jmp 0x10058f32
and dword [ebp - 0x130], 0
push 0
lea ecx, [ebp - 0x120]
call fcn.10019727
cmp dword [ebp - 0x138], 0xa21d
jg 0x10058f57
mov dword [ebp - 0xf4], 1
jmp 0x10058f5e
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 5
jge 0x10058f7f
cmp dword [ebp - 0x44], 0
jne 0x10058f7f
and dword [ebp - 0x4c], 0
jmp 0x10058f86
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 3
ja 0x10058f98
mov dword [ebp - 0xc4], 1
jmp 0x10058f9f
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0xfffffffd
jle 0x10058fb4
mov dword [ebp - 0x104], 1
jmp 0x10058fbb
and dword [ebp - 0x104], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
imul eax, dword [ebp - 0x104]
test eax, eax
jne 0x10058fdc
mov dword [ebp - 0x10c], 1
jmp 0x10058fe3
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0xfffffff6
jbe 0x10058ff8
mov dword [ebp - 0xd0], 1
jmp 0x10058fff
and dword [ebp - 0xd0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x128]
cmp dword [ebp - 0xd0], eax
jne 0x10059020
mov dword [ebp - 0xf8], 1
jmp 0x10059027
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
sub eax, 0xd979
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 7
jl 0x10059047
mov dword [ebp - 0xd8], 1
jmp 0x1005904e
and dword [ebp - 0xd8], 0
push 0
lea ecx, [ebp - 0x120]
call fcn.10019727
mov esi, dword [ebp - 0xd8]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x120]
call fcn.10019727
cmp esi, dword [eax]
jge 0x1005907d
mov dword [ebp - 0x50], 1
jmp 0x10059081
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x50], eax
jl 0x10059092
mov dword [ebp - 0x58], 1
jmp 0x10059096
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x5c78859b
je 0x100590a8
mov dword [ebp - 0x60], 1
jmp 0x100590ac
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0x60ee
jg 0x100590be
mov dword [ebp - 0x68], 1
jmp 0x100590c2
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xc96aae11
jbe 0x100590d4
mov dword [ebp - 0x70], 1
jmp 0x100590d8
and dword [ebp - 0x70], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x128]
cmp dword [ebp - 0x70], eax
jl 0x10059102
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x150], 0
je 0x10059102
mov dword [ebp - 0x78], 1
jmp 0x10059106
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x128]
cmp dword [ebp - 0x78], eax
jle 0x10059121
mov dword [ebp - 0x80], 1
jmp 0x10059125
and dword [ebp - 0x80], 0
push 2
lea ecx, [ebp - 0x120]
call fcn.10019727
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [eax]
jle 0x10059145
mov dword [ebp - 0x88], 1
jmp 0x1005914c
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0xb0]
imul eax, dword [ebp - 0x88]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x128]
jg 0x10059174
mov dword [ebp - 0x90], 1
jmp 0x1005917b
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 4
jne 0x10059199
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x3c], 0
jne 0x10059199
and dword [ebp - 0x98], 0
jmp 0x100591a3
mov dword [ebp - 0x98], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
imul eax, dword [ebp - 0x98]
test eax, eax
je 0x100591d3
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x150], 0
je 0x100591d3
mov dword [ebp - 0xa8], 1
jmp 0x100591da
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0xa8]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x3c]
lea eax, [eax + ecx + 0xffff]
cmp eax, dword [ebp - 0xb0]
jg 0x1005920b
mov dword [ebp - 0xb8], 1
jmp 0x10059212
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xb8]
mov dword [ebp + eax - 0x3c], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.1001970b
mov eax, dword [ebp - 0x140]
mov dword [eax], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret