Function at 0x10032f7a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d5ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10033000
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xb0]
mov dword [eax], ecx
jmp 0x1003348c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x98], 0xc752
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xd8], 0xfe1ca296
push 3
lea ecx, [ebp - 0xd4]
call fcn.100176ef
and dword [ebp - 4], 0
mov dword [ebp - 0xc4], 0xe6e2bfbd
push 1
lea ecx, [ebp - 0xbc]
call fcn.100176ef
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
jmp 0x10033084
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100330a0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xd4]
call fcn.1001778d
mov dword [eax], 0x307b5ca9
jmp 0x1003307d
mov dword [ebp - 0x14], 0
jmp 0x100330b0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100330cc
push dword [ebp - 0x14]
lea ecx, [ebp - 0xbc]
call fcn.1001778d
mov dword [eax], 1
jmp 0x100330a9
mov dword [ebp - 0x98], 0
push 0xe6f
push 0
lea eax, [ebp - 0xbc]
push eax
call fcn.1002b34e
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.10017771
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.10017771
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x10083848]
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1003348c
push 2
lea ecx, [ebp - 0x38]
call fcn.100176ef
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], 0x6c1dfe93
mov dword [ebp - 0x24], 0xc3a60813
mov dword [ebp - 0x50], 0xfffffffd
lea eax, [ebp - 0xc8]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.1002ccc0
add esp, 0xc
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1003319e
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x10], 1
jmp 0x100331ae
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10033471
mov dword [ebp - 0x28], 0
jmp 0x100331c8
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x100331de
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xe4], 0x908fbded
jmp 0x100331c1
push 0x4b9a
push 0
push 0x62a1
call fcn.1002e028
add esp, 0xc
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.1001778d
cmp dword [eax], 0
jne 0x10033349
push 1
lea ecx, [ebp - 0x38]
call fcn.1001778d
cmp dword [eax], 0
je 0x10033225
push 0xfffffffffffffffa
pop eax
test eax, eax
je 0x10033225
mov dword [ebp - 0x60], 1
jmp 0x10033229
and dword [ebp - 0x60], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.1001778d
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax]
jne 0x10033244
mov dword [ebp - 0x44], 1
jmp 0x10033248
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x44], eax
jle 0x10033259
mov dword [ebp - 0x80], 1
jmp 0x1003325d
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 6
jbe 0x10033272
cmp dword [ebp - 0x10], 0
je 0x10033272
mov dword [ebp - 0x64], 1
jmp 0x10033276
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
add esi, 0x856d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.1001778d
cmp esi, dword [eax]
jge 0x1003329d
mov dword [ebp - 0x4c], 1
jmp 0x100332a1
and dword [ebp - 0x4c], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.1001778d
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jge 0x100332bc
mov dword [ebp - 0x74], 1
jmp 0x100332c0
and dword [ebp - 0x74], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.1001778d
mov ecx, dword [ebp - 0x74]
add ecx, dword [eax]
jne 0x100332e7
push 0
lea ecx, [ebp - 0x38]
call fcn.1001778d
cmp dword [eax], 0
jne 0x100332e7
and dword [ebp - 0x54], 0
jmp 0x100332ee
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x54], eax
jl 0x100332ff
mov dword [ebp - 0x6c], 1
jmp 0x10033303
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x6c]
jl 0x10033314
mov dword [ebp - 0x5c], 1
jmp 0x10033318
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x9a92
jg 0x1003332a
mov dword [ebp - 0x7c], 1
jmp 0x1003332e
and dword [ebp - 0x7c], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.1001778d
mov ecx, dword [ebp - 0x7c]
imul ecx, dword [eax]
test ecx, ecx
jne 0x10033349
and dword [ebp - 0x40], 0
jmp 0x10033350
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
jmp 0x10033366
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1003346c
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0x24], 1
jmp 0x1003338a
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10033467
mov dword [ebp - 0x1c], 0xce3d9786
mov dword [ebp - 0x1c], 1
jmp 0x100333ab
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10033462
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x1c], 0
jne 0x100333d1
mov eax, 0xb665
test eax, eax
jne 0x100333d1
and dword [ebp - 0x48], 0
jmp 0x100333d8
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x50]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.1001778d
cmp esi, dword [eax]
jne 0x100333f9
mov dword [ebp - 0x3c], 1
jmp 0x100333fd
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x70], eax
jle 0x1003340e
mov dword [ebp - 0x58], 1
jmp 0x10033412
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x58]
je 0x10033423
mov dword [ebp - 0x68], 1
jmp 0x10033427
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x3c]
neg eax
imul eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x70]
cmp eax, 0xf997ec53
jae 0x10033449
mov dword [ebp - 0x78], 1
jmp 0x1003344d
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0xe4], ecx
jmp 0x100333a4
jmp 0x10033383
jmp 0x1003335f
jmp 0x100331a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10017771
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret