Function at 0x10025330
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10025388
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax]
movzx eax, word [eax]
and eax, 0xfff
mov ecx, dword [ebp - 0x140]
mov dword [ecx], eax
jmp 0x10025e7d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xfffffffd
mov dword [ebp - 0x108], 5
mov dword [ebp - 0x54], 0
jmp 0x100253bb
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffef
je 0x1002549c
mov dword [ebp - 0x50], 0xfffffffa
mov dword [ebp - 0x50], 0x15
jmp 0x100253dc
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 7
jg 0x10025497
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x4c], 0
jmp 0x100253fd
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x10025413
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x164], 0
jmp 0x100253f6
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x12]
push eax
push 0
call fcn.100244d9
pop ecx
pop ecx
mov dword [ebp - 0x18], 0
jmp 0x10025434
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x10025492
mov dword [ebp - 0x114], 0xfffffff8
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x164]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x164], ecx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x10025490
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1002542d
jmp 0x100253d5
jmp 0x100253b4
push 0x7160
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x754d
push 0
call fcn.10024203
add esp, 0x14
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x10025e7d
mov dword [ebp - 0x20], 0xf5a9
mov dword [ebp - 0x1c], 0xcd49598a
mov dword [ebp - 0x12c], 0x535dd253
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x94], 0x2f3a
mov dword [ebp - 0xdc], 0xfffffffd
mov dword [ebp - 0x110], 0xfffffff8
mov dword [ebp - 4], 0
jmp 0x10025514
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x10025527
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x10], 0xfffffff6
jmp 0x1002550d
mov dword [ebp - 4], 0
jmp 0x10025537
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1002554d
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x154], 0
jmp 0x10025530
cmp dword [ebp - 0x20], 0
jne 0x1002555c
mov eax, 0x3ab1
test eax, eax
je 0x10025575
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
je 0x10025575
mov dword [ebp - 0xc4], 1
jmp 0x1002557c
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xc4]
jge 0x10025590
mov dword [ebp - 0x78], 1
jmp 0x10025594
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
je 0x100255ac
mov dword [ebp - 0xf8], 1
jmp 0x100255b3
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xfffffffc
jg 0x100255c8
mov dword [ebp - 0x100], 1
jmp 0x100255cf
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x100]
mov dword [ebp - 0x84], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax - 0x154], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x84], eax
jne 0x10025608
mov dword [ebp - 0x120], 1
jmp 0x1002560f
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x180], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
dec eax
sub eax, dword [ebp - 0x20]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x10]
je 0x100256cc
mov dword [ebp - 0x134], 0xab65
mov dword [ebp - 0x17c], 0xfffffff7
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x188], 0x132d38ca
mov dword [ebp - 0x1b4], 0xac1e0f75
mov dword [ebp - 0x1b0], 0xac1e0f75
mov dword [ebp - 0x1ac], 0xac1e0f75
mov dword [ebp - 0x1a8], 0xac1e0f75
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100260be
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push 0x27ae
push 0xe6b
lea eax, [ebp - 0x144]
push eax
push 1
call fcn.10024203
add esp, 0x14
jmp 0x100259c7
mov dword [ebp - 0xc], 0x1fa4
mov dword [ebp - 8], 0
mov dword [ebp - 0x48], 0xfffffff9
push 6
pop eax
test eax, eax
je 0x100257e3
cmp dword [ebp - 0x12c], 0x153b
jne 0x10025704
mov dword [ebp - 0x104], 1
jmp 0x1002570b
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0xffffffff
jg 0x10025720
mov dword [ebp - 0x8c], 1
jmp 0x10025727
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x190], eax
imul eax, dword [ebp - 0xc], 0x6fef
cmp eax, dword [ebp - 0x94]
jne 0x1002575d
mov dword [ebp - 0xcc], 1
jmp 0x10025764
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 8], 0xffffffff
jge 0x10025788
mov dword [ebp - 0x13c], 1
jmp 0x1002578f
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 8]
sub eax, 0x1f3e63d4
cmp eax, dword [ebp - 0xc]
jle 0x100257b8
mov dword [ebp - 0xec], 1
jmp 0x100257bf
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0xec], eax
jle 0x100257d9
mov dword [ebp - 0x9c], 1
jmp 0x100257e0
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xc]
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 8]
mov dword [ebp + eax - 0x154], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0xdc], 0x3ffe
jne 0x10025814
mov dword [ebp - 0xb4], 1
jmp 0x1002581b
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x1002583f
mov dword [ebp - 0xd4], 1
jmp 0x10025846
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0x656345d1
jne 0x1002585e
mov dword [ebp - 0xa4], 1
jmp 0x10025865
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xa4], eax
jne 0x1002587c
mov dword [ebp - 0xfc], 1
jmp 0x10025883
and dword [ebp - 0xfc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0xfc], eax
je 0x100258a1
mov dword [ebp - 0xac], 1
jmp 0x100258a8
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
sub eax, dword [ebp - 0xac]
jne 0x100258cf
cmp dword [ebp - 0xdc], 0
jne 0x100258cf
and dword [ebp - 0xf4], 0
jmp 0x100258d9
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0xc]
jg 0x100258f7
mov dword [ebp - 0xbc], 1
jmp 0x100258fe
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0x8356
jle 0x10025916
mov dword [ebp - 0xe4], 1
jmp 0x1002591d
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xe4]
lea eax, [ecx + eax + 1]
test eax, eax
jne 0x1002593a
cmp dword [ebp - 0x1c], 0
jne 0x1002593a
and dword [ebp - 0x7c], 0
jmp 0x10025941
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x7c], eax
jle 0x10025952
mov dword [ebp - 0x68], 1
jmp 0x10025956
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x154], ecx
cmp dword [ebp - 0x68], 0
jne 0x1002597b
mov eax, 0x7736
test eax, eax
jne 0x1002597b
and dword [ebp - 0x80], 0
jmp 0x10025982
mov dword [ebp - 0x80], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x80], eax
jl 0x1002599d
mov dword [ebp - 0x118], 1
jmp 0x100259a4
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x18c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 8], 0xe475996e
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x10025a9c
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0xd32ffab8
mov dword [ebp - 0x3c], 0
jmp 0x100259f4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10025a0a
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x15c], 0xa2fafd11
jmp 0x100259ed
mov dword [ebp - 0x38], 0xfffffffe
jmp 0x10025a1a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xa
je 0x10025a8a
mov dword [ebp - 0x128], 0xde0369bd
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x10025a40
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x13
je 0x10025a88
mov dword [ebp - 0x2c], 0xfffffff6
mov dword [ebp - 0x2c], 0
jmp 0x10025a5d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x10025a73
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x15c], 0xa835a23e
jmp 0x10025a56
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp + eax - 0x15c], ecx
jmp 0x10025a39
jmp 0x10025a13
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x10025e7d
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x10025e7d
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x58], 0
jmp 0x10025ac4
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x10025ad7
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x64], 0x69fdf99f
jmp 0x10025abd
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x64], 0xffffffef
jmp 0x10025af9
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x64], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x64], 0x1d
jne 0x10025e61
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x40], 0
jmp 0x10025b23
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x10025b36
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x28], 0xfffffffd
jmp 0x10025b1c
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x28], 0xfffffffe
jmp 0x10025b5b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x28], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x28], 8
je 0x10025e5c
mov dword [ebp - 0x130], 0x400765e4
mov dword [ebp - 0x174], 0x1137
mov dword [ebp - 0x170], 0x1137
mov dword [ebp - 0x16c], 0x1137
mov dword [ebp - 0x168], 0x1137
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x64], 0
jne 0x10025d40
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x28], 0x42b622b6
jg 0x10025bc7
mov dword [ebp - 0x70], 1
jmp 0x10025bcb
and dword [ebp - 0x70], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
cmp eax, dword [ebp - 0x70]
jl 0x10025be5
mov dword [ebp - 0x90], 1
jmp 0x10025bec
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0x90], eax
jle 0x10025c0f
mov eax, 0xc380a388
test eax, eax
je 0x10025c0f
mov dword [ebp - 0x98], 1
jmp 0x10025c16
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
cmp eax, dword [ebp - 0x98]
jl 0x10025c33
mov dword [ebp - 0xa0], 1
jmp 0x10025c3a
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0x88ca
jg 0x10025c52
mov dword [ebp - 0xa8], 1
jmp 0x10025c59
and dword [ebp - 0xa8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xa8], eax
jge 0x10025c76
mov dword [ebp - 0xb0], 1
jmp 0x10025c7d
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x174]
cmp dword [ebp - 0xb0], eax
jg 0x10025cb4
mov eax, 0xd43d9c8c
test eax, eax
je 0x10025cb4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x10025cb4
mov dword [ebp - 0xb8], 1
jmp 0x10025cbb
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xb8], eax
jne 0x10025cdd
or eax, 0xffffffff
je 0x10025cdd
mov dword [ebp - 0xc0], 1
jmp 0x10025ce4
and dword [ebp - 0xc0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
imul eax, dword [ebp - 0xc0]
cmp eax, 0x8968
jg 0x10025d07
mov dword [ebp - 0xc8], 1
jmp 0x10025d0e
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
add eax, dword [ebp - 0xc8]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x28]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x28]
test eax, eax
jne 0x10025d40
and dword [ebp - 0xd0], 0
jmp 0x10025d4a
mov dword [ebp - 0xd0], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd0]
sub ecx, dword [ebp + eax - 0x28]
push 4
pop eax
imul eax, eax, 0
add ecx, dword [ebp + eax - 0x28]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x28]
jle 0x10025d7c
mov dword [ebp - 0xd8], 1
jmp 0x10025d83
and dword [ebp - 0xd8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xd8], eax
je 0x10025da1
mov dword [ebp - 0xe0], 1
jmp 0x10025da8
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe0]
sub ecx, dword [ebp + eax - 0x28]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0x64]
je 0x10025dd0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0
je 0x10025de2
cmp dword [ebp - 0x30], 0
je 0x10025de2
mov dword [ebp - 0xe8], 1
jmp 0x10025de9
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 3
jge 0x10025e07
mov eax, 0xf534
test eax, eax
je 0x10025e07
mov dword [ebp - 0xf0], 1
jmp 0x10025e0e
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x30], 0
jmp 0x10025e2a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x32
jge 0x10025e57
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10025e55
push 0x260d
push 0x32ff
push 0x1a84
push 0
call fcn.1002b511
add esp, 0x10
jmp 0x10025e23
jmp 0x10025b46
jmp 0x10025ae6
push 0x7c4f
push 0
push 0x2c9b
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10027b85
add esp, 0x14
mov esp, ebp
pop ebp
ret