Function at 0x1002c5ef
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e06b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push esi
push edi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002ca13
push 3
lea ecx, [ebp - 0x110]
call fcn.1001ae23
and dword [ebp - 4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xf4], 0x6b37990
mov dword [ebp - 0x18], 0
jmp 0x1002c65a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002c676
push dword [ebp - 0x18]
lea ecx, [ebp - 0x110]
call fcn.1001aec1
mov dword [eax], 1
jmp 0x1002c653
mov dword [ebp - 0x18], 0
jmp 0x1002c686
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002c699
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x78], 8
jmp 0x1002c67f
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x78], 2
jmp 0x1002c6be
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x78], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x78], 0
jl 0x1002c9f5
mov dword [ebp - 0x48], 0xd7af2c9a
mov dword [ebp - 0x120], 0x6339
mov dword [ebp - 0x13c], 7
mov dword [ebp - 0x144], 0xffffffff
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x1c], 0
jmp 0x1002c70e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002c724
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x11c], 1
jmp 0x1002c707
mov dword [ebp - 0x1c], 0
jmp 0x1002c734
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1002c74a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1a8], 0xb2097e65
jmp 0x1002c72d
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x11c], 2
jmp 0x1002c775
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x11c]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x11c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x11c], 0
jl 0x1002c8f6
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0xec], 0x611bc383
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x38], 2
jmp 0x1002c7b3
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x1002c8f1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x50], 2
jmp 0x1002c7d4
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1002c7ee
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1002c7ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002c7cd
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0x11c]
lea ecx, [ebp - 0x110]
call fcn.1001aec1
cmp dword [eax], 0xfffe
jb 0x1002c819
mov dword [ebp - 0x88], 1
jmp 0x1002c820
and dword [ebp - 0x88], 0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x110]
call fcn.1001aec1
mov eax, dword [eax]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
neg eax
cmp eax, 0xdfd
jg 0x1002c857
mov dword [ebp - 0x104], 1
jmp 0x1002c85e
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x188], eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x78]
lea ecx, [ebp - 0x110]
call fcn.1001aec1
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x78]
imul ecx, dword [eax]
cmp ecx, 0xf58aae07
jbe 0x1002c8d9
mov dword [ebp - 0x90], 1
jmp 0x1002c8e0
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xf4], eax
jmp 0x1002c7ac
jmp 0x1002c75c
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x78]
lea ecx, [ebp - 0x110]
call fcn.1001aec1
cmp dword [eax], 0
je 0x1002c9d6
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x120]
test eax, eax
je 0x1002c93e
cmp dword [ebp - 0x13c], 0
je 0x1002c93e
mov dword [ebp - 0xfc], 1
jmp 0x1002c945
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xfc], eax
jle 0x1002c95c
mov dword [ebp - 0x60], 1
jmp 0x1002c960
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax - 0x11c], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
imul eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x144]
jne 0x1002c992
mov dword [ebp - 0x98], 1
jmp 0x1002c999
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov esi, dword [ebp - 0x9c]
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x78]
lea ecx, [ebp - 0x110]
call fcn.1001aec1
add esi, dword [eax]
cmp esi, 0xf4d0
jle 0x1002c9d6
mov dword [ebp - 0xf8], 1
jmp 0x1002c9dd
and dword [ebp - 0xf8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xf8]
mov dword [ebp + eax - 0x1a8], ecx
jmp 0x1002c6a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.1001aea5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
jmp 0x1002d157
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x130], eax
push 2
lea ecx, [ebp - 0x184]
call fcn.1001ae23
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], 0x9bdba76a
mov dword [ebp - 0x178], 0xadae8c9f
mov dword [ebp - 0x3c], 0
jmp 0x1002ca51
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1002ca6d
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x184]
call fcn.1001aec1
mov dword [eax], 7
jmp 0x1002ca4a
mov dword [ebp - 0x44], 0
jmp 0x1002ca7d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jg 0x1002ca9c
mov dword [ebp - 0xa8], 0x7f2fb5a5
mov eax, dword [ebp - 0xa8]
dec eax
mov dword [ebp - 0xa8], eax
jmp 0x1002ca76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.1001aea5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x54], 0
jmp 0x1002cacb
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1002cade
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x6c], 0xb0647dc4
jmp 0x1002cac4
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1002caf0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x20], 0
jmp 0x1002cb00
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x19
jge 0x1002ce13
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0x12c], 2
mov dword [ebp - 0x10], 0
jmp 0x1002cb32
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1002cc70
mov eax, dword [ebp - 0x10]
dec eax
cmp eax, dword [ebp - 0x10]
jle 0x1002cb51
mov dword [ebp - 0xd8], 1
jmp 0x1002cb58
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x6c]
mov ecx, dword [ebp - 0x10]
imul eax, dword [ebp + ecx*4 - 0x6c]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0xd8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 0
jmp 0x1002cb83
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x1002cc6b
mov dword [ebp - 0x58], 0x3c67ee39
push 2
lea ecx, [ebp - 0x164]
call fcn.1001ae23
mov dword [ebp - 4], 2
mov dword [ebp - 0x5c], 0
jmp 0x1002cbb8
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1002cbd1
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x164]
call fcn.1001aec1
or dword [eax], 0xffffffff
jmp 0x1002cbb1
mov dword [ebp - 0x58], 0
jmp 0x1002cbe1
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1002cc57
mov dword [ebp - 0x14c], 0
push 1
lea ecx, [ebp - 0x164]
call fcn.1001aec1
mov dword [eax], 0x5fff839e
mov eax, 0x5fff839e
test eax, eax
je 0x1002cc23
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x6c], 0
je 0x1002cc23
mov dword [ebp - 0xb0], 1
jmp 0x1002cc2a
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0xbb9
jne 0x1002cc42
mov dword [ebp - 0xf0], 1
jmp 0x1002cc49
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x14c], eax
jmp 0x1002cbda
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.1001aea5
jmp 0x1002cb7c
jmp 0x1002cb2b
mov dword [ebp - 0x10], 0
jmp 0x1002cc80
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jl 0x1002ce0e
mov dword [ebp - 0x134], 0x68927649
mov dword [ebp - 0x14], 0
jmp 0x1002cca4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 9
jg 0x1002ce09
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x68], 1
push 3
lea ecx, [ebp - 0x158]
call fcn.1001ae23
mov dword [ebp - 4], 3
mov dword [ebp - 0x4c], 0
jmp 0x1002cce0
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1002ccfc
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x158]
call fcn.1001aec1
mov dword [eax], 0xdc4b54c5
jmp 0x1002ccd9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
jle 0x1002cd1a
mov dword [ebp - 0x148], 1
jmp 0x1002cd21
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x20], 0
je 0x1002cd5f
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x68]
add eax, 0x2059515e
je 0x1002cd5f
mov dword [ebp - 0xb8], 1
jmp 0x1002cd66
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb8], eax
jne 0x1002cd7d
mov dword [ebp - 0xe0], 1
jmp 0x1002cd84
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0x10]
cmp eax, 0xfffffffb
jge 0x1002cda2
xor eax, eax
je 0x1002cda2
mov dword [ebp - 0xc0], 1
jmp 0x1002cda9
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x20]
je 0x1002cdcb
mov dword [ebp - 0x7c], 1
jmp 0x1002cdcf
and dword [ebp - 0x7c], 0
push 0
lea ecx, [ebp - 0x158]
call fcn.1001aec1
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002cdf5
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.1001aea5
jmp 0x1002cc9d
jmp 0x1002cc79
jmp 0x1002caf9
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x128], eax
push 1
lea ecx, [ebp - 0x34]
call fcn.1001ae23
mov dword [ebp - 4], 4
mov dword [ebp - 0x84], 0xf844ba92
mov dword [ebp - 0x138], 0xffffffff
mov dword [ebp - 0x24], 0
jmp 0x1002ce60
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1002ce79
push dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov dword [eax], 0xae8c9f36
jmp 0x1002ce59
mov dword [ebp - 0x24], 0
jmp 0x1002ce89
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002ce9f
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x198], 1
jmp 0x1002ce82
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
cmp dword [eax], 0
jne 0x1002ceba
mov dword [ebp - 0xc8], 1
jmp 0x1002cec1
and dword [ebp - 0xc8], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov esi, dword [ebp - 0xc8]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
cmp esi, dword [eax]
je 0x1002ceed
mov dword [ebp - 0xe8], 1
jmp 0x1002cef4
and dword [ebp - 0xe8], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov eax, dword [eax]
cmp eax, dword [ebp - 0xe8]
jge 0x1002cf14
mov dword [ebp - 0xd0], 1
jmp 0x1002cf1b
and dword [ebp - 0xd0], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [eax]
jl 0x1002cf3b
mov dword [ebp - 0x94], 1
jmp 0x1002cf42
and dword [ebp - 0x94], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov esi, dword [ebp - 0x94]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
cmp esi, dword [eax]
je 0x1002cf6e
mov dword [ebp - 0xa4], 1
jmp 0x1002cf75
and dword [ebp - 0xa4], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax]
je 0x1002cf95
mov dword [ebp - 0xac], 1
jmp 0x1002cf9c
and dword [ebp - 0xac], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
jle 0x1002cfc8
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
cmp dword [eax], 0
jne 0x1002cfc8
and dword [ebp - 0xb4], 0
jmp 0x1002cfd2
mov dword [ebp - 0xb4], 1
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb4]
jge 0x1002cff2
mov dword [ebp - 0xbc], 1
jmp 0x1002cff9
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0xffffffff
jle 0x1002d00e
mov dword [ebp - 0xc4], 1
jmp 0x1002d015
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [eax]
jge 0x1002d035
mov dword [ebp - 0xcc], 1
jmp 0x1002d03c
and dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov esi, dword [ebp - 0xcc]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
cmp esi, dword [eax]
je 0x1002d068
mov dword [ebp - 0xd4], 1
jmp 0x1002d06f
and dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [eax]
jle 0x1002d08f
mov dword [ebp - 0xdc], 1
jmp 0x1002d096
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0x2d29
je 0x1002d0ab
mov dword [ebp - 0x80], 1
jmp 0x1002d0af
and dword [ebp - 0x80], 0
imul eax, dword [ebp - 0x80], 0x7d41
mov dword [ebp - 0x84], eax
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov esi, eax
mov edi, dword [ebp - 0x84]
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
add edi, dword [eax]
cmp dword [esi], edi
je 0x1002d0e7
mov dword [ebp - 0x64], 1
jmp 0x1002d0eb
and dword [ebp - 0x64], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0x198], ecx
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
mov esi, dword [ebp - 0x64]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x34]
call fcn.1001aec1
sub esi, dword [eax]
mov dword [ebp - 0x138], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1001aea5
mov eax, dword [ebp - 0x128]
cmp dword [eax], 0x1f66
jg 0x1002d142
mov dword [ebp - 0x8c], 1
jmp 0x1002d149
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret