Function at 0x10062b5b
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x240], eax
xor eax, eax
push 0x30
push eax
mov dword [ebp - 0x22c], eax
mov ebx, eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x284]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x234], esi
test edi, edi
jne 0x10062bed
cmp dword [ebp + 0x14], eax
jne 0x10062bed
mov esi, 0x40380
jmp 0x10062ee0
lea ecx, [ebp - 0x214]
call fcn.10062190
xor eax, eax
lea ecx, [ebp - 0x214]
mov byte [ebp - 0x215], al
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x22c]
jne 0x10062c09
sub ecx, edx
sar ecx, 1
je 0x10062c3a
cmp dword [ebp + 0x10], ebx
je 0x10062c3a
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x224], ebx
jmp 0x10062cb4
xor eax, eax
push eax
push 0x100077a4
push 0x100077b0
call dword [sym.imp.KERNEL32.dll_GetProfileIntW]
cmp eax, 1
jne 0x10062c72
push 0x10007628
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x224], ebx
test ebx, ebx
je 0x10062c72
mov byte [ebp - 0x215], 1
jmp 0x10062cb4
lea ecx, [ebp - 0x214]
call fcn.10062190
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x22c]
jne 0x10062c86
sub ecx, edx
sar ecx, 1
je 0x10062fa6
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x224], eax
test ebx, ebx
je 0x10062fa6
test edi, edi
je 0x10062e20
imul eax, edi, 0x18
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x234], esi
mov ebx, eax
test eax, eax
je 0x10062e1a
lea edi, [esi + 8]
mov dword [edi - 4], 1
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
xor eax, eax
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x238], eax
cmp dword [ecx], 0x15
jb 0x10062e00
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x238]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.1001e5e8
cmp al, 4
jne 0x10062e00
test dword [ebp - 0x250], 0x80000000
je 0x10062def
lea eax, [ebp - 0x21c]
mov dl, 4
push eax
lea eax, [ebp - 0x248]
xor ecx, ecx
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x244]
push dword [ebp - 0x238]
call fcn.1001e214
mov esi, eax
test esi, esi
js 0x10062e72
mov esi, dword [ebp - 0x248]
mov dword [edi + 8], esi
cmp dword [ebp - 0x21c], 0
je 0x10062dcc
test esi, esi
je 0x10062dcc
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [edi + 0xc], eax
test eax, eax
je 0x10062e6d
push esi
push dword [ebp - 0x21c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10062dd1
xor eax, eax
mov dword [edi + 0xc], eax
cmp dword [ebp - 0x21c], 0
je 0x10062e00
push dword [ebp - 0x21c]
call fcn.10033470
xor eax, eax
mov dword [ebp - 0x21c], eax
jmp 0x10062e00
mov eax, dword [ebx + 8]
mov eax, dword [eax]
mov dword [edi + 8], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], eax
mov ebx, dword [ebx + 0xc]
add edi, 0x18
test ebx, ebx
jne 0x10062ceb
mov edi, dword [ebp - 0x230]
mov esi, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x260], esi
test ecx, ecx
je 0x10062e49
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10062e49
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], ecx
cmp byte [ebp - 0x215], 0
je 0x10062f86
push 0x10007640
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x220], eax
jmp 0x10062fa2
mov esi, 0x8007000e
mov edi, dword [ebp - 0x230]
mov ebx, dword [ebp - 0x224]
cmp dword [ebp - 0x21c], 0
je 0x10062e9a
push dword [ebp - 0x21c]
call fcn.10033470
xor eax, eax
mov dword [ebp - 0x21c], eax
test ebx, ebx
je 0x10062ea5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x10062ee0
test edi, edi
je 0x10062ed9
mov ebx, dword [ebp - 0x230]
lea edi, [eax + 0xc]
xor eax, eax
lea ecx, [edi + 8]
mov dword [edi - 4], eax
mov dword [edi], eax
call fcn.10037062
lea edi, [edi + 0x18]
sub ebx, 1
jne 0x10062ebc
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x10062ef1
mov ecx, eax
call fcn.100622d1
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x10062f3c
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x10062f3c
lea edi, [eax + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [edi + 4]
xor eax, eax
mov dword [edi], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
lea edi, [edi + 0x18]
mov dword [edi - 0x14], eax
sub ebx, 1
jne 0x10062f05
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x254]
call fcn.1000b34b
cmp esi, 0x8004010f
je 0x10063067
cmp esi, 0x80040113
je 0x10063079
test esi, esi
js 0x10063060
cmp esi, 1
jle 0x10063079
cmp esi, 0x40380
jne 0x10063060
mov edx, 0xffa
jmp 0x1006306c
push 0x10007650
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x23c], eax
test eax, eax
jne 0x10062fb0
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x10062fb0
mov esi, 0x8004010f
jmp 0x10062e7e
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [ebp - 0x215], 0
je 0x10062ffa
mov esi, esp
lea eax, [ebp - 0x284]
xor ecx, ecx
push ecx
push 8
push eax
push dword [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x220]
call dword [0x1008c6d4]
call dword [ebp - 0x220]
cmp esi, esp
je 0x10062ff3
mov ecx, 4
int 0x29
mov esi, eax
jmp 0x10062e7e
xor eax, eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x220], eax
call fcn.1005b8d9
mov esi, eax
test esi, esi
js 0x10062e7e
mov ecx, dword [ebp - 0x23c]
mov esi, esp
xor eax, eax
push eax
push 8
push dword [ebp - 0x220]
push dword [ebp - 0x228]
push eax
call dword [0x1008c6d4]
call dword [ebp - 0x23c]
cmp esi, esp
je 0x1006304e
mov ecx, 4
int 0x29
mov ecx, dword [ebp - 0x220]
mov esi, eax
call fcn.1005b4dd
jmp 0x10062e7e
mov edx, 0x10c3
jmp 0x1006306c
mov edx, 0x113e
mov ecx, dword [ebp - 0x228]
push 0x30
call fcn.10060325
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret 0x14