Function at 0x1002910
Capabilities:
Persist via run registry key
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d14
call fcn.01007c70
push esi
push edi
push dword [ebp + 0x10]
push 0x1001668
call fcn.01006ddf
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
pop ecx
pop ecx
push 0x20
lea eax, [ebp - 0x64]
push eax
push 0xd3
push dword [0x100924c]
call esi
test byte [ebp + 0x1d], 4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jne 0x1002960
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x1002964
or dword [ebp + 0x1c], 8
push 0xa000
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x1003059
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x20
mov dword [ebp - 8], eax
lea eax, [ebp - 0x64]
push eax
push 0xd7
push dword [0x100924c]
call esi
and word [ebp - 0x26c], 0
test byte [ebp + 0x1d], 1
mov ebx, 0x208
jne 0x10029ba
push dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
call edi
test eax, eax
jne 0x10029da
push ebx
lea eax, [ebp - 0x26c]
push eax
push 0x1001428
push 0x1001488
push 0x80000001
call fcn.01006d04
and dword [ebp + 0x1c], 0xfffffffe
push 0x20
lea eax, [ebp - 0x64]
push eax
push 0xd8
push dword [0x100924c]
call esi
test byte [ebp + 0x1d], 2
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jne 0x1002a0c
push dword [ebp + 0x10]
call sub.SHELL32.dll_Ordinal_34
push eax
lea eax, [ebp - 0x64]
push eax
call edi
test eax, eax
jne 0x1002a10
and dword [ebp + 0x1c], 0xfffffffe
push 0x20
lea eax, [ebp - 0x64]
push eax
push 0xdd
push dword [0x100924c]
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
call edi
test eax, eax
jne 0x1002a3c
mov eax, dword [ebp + 0x1c]
and eax, 0xfffffffe
or eax, 0x20
mov dword [ebp + 0x1c], eax
lea eax, [ebp - 4]
push eax
push 0x100249c
push 0x10024bc
call fcn.01006b1a
test eax, eax
jl 0x100304f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x1001aa4
push eax
call dword [ecx]
push dword [ebp + 8]
mov esi, dword [ebp - 8]
push 0x5000
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
mov dword [ebp - 0x10], eax
jle 0x1003007
push eax
push 0xffffffffffffffff
mov dword [ebp + 0xc], esi
call fcn.01006724
cmp word [ebp - 0x26c], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
jne 0x1002b1a
push dword [ebp + 0x10]
call sub.SHELL32.dll_Ordinal_57
cmp eax, 0xffffffff
jne 0x1002aef
push dword [ebp + 0x10]
call sub.SHELL32.dll_Ordinal_39
test eax, eax
jne 0x1002aef
push 1
push 2
lea eax, [ebp - 0x26c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Ordinal_175]
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp + 0x10]
mov esi, eax
lea eax, [ebp - 0x26c]
push eax
call sub.SHELL32.dll_Ordinal_36
jmp 0x1002afe
push dword [ebp + 0x10]
lea eax, [ebp - 0x26c]
push eax
call edi
push 2
pop esi
push 1
push esi
lea eax, [ebp - 0x26c]
push eax
call fcn.01003a75
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHELL32.dll_PathQualify]
xor esi, esi
cmp dword [ebp + 0x18], esi
je 0x1002b45
test byte [ebp + 0x1c], 0x20
jne 0x1002b45
lea eax, [ebp - 0x26c]
push eax
call sub.SHELL32.dll_Ordinal_45
test eax, eax
jne 0x1002b45
lea eax, [ebp - 0x26c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHELL32.dll_IsLFNDrive]
test eax, eax
je 0x1002b5a
or dword [ebp + 0x1c], 0x10
mov eax, dword [ebp - 8]
cmp word [eax], si
je 0x1003007
mov esi, dword [sym.imp.SHELL32.dll_Ordinal_58]
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 8]
sar eax, 1
push eax
call fcn.01006854
and word [ebp - 0x474], 0
test byte [ebp + 0x1c], 0x10
jne 0x1002ba5
push 0x104
lea eax, [ebp - 0x474]
push eax
push 7
push dword [ebp + 0xc]
call esi
cmp word [ebp - 0x474], 0
jne 0x1002bb8
push 0x104
lea eax, [ebp - 0x474]
push eax
push 1
push dword [ebp + 0xc]
call esi
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x26c]
push eax
call sub.SHELL32.dll_Ordinal_36
mov eax, dword [ebp + 8]
push 0
inc eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.01003a75
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHELL32.dll_PathQualify]
push 0x30c
lea eax, [ebp - 0x16bc]
push eax
push 2
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x1002f4c
cmp word [ebp - 0x16bc], 0
je 0x1002f4c
lea eax, [ebp - 0x16bc]
push eax
lea eax, [ebp - 0xa8c]
push eax
call edi
lea eax, [ebp - 0x16bc]
push eax
lea eax, [ebp - 0x10a4]
push eax
call edi
test byte [ebp + 0x1c], 0x40
jne 0x1002c59
push dword [ebp - 0x10]
or dword [ebp + 0x1c], 0x40
push dword [ebp + 0x10]
call fcn.01006724
cmp word [ebp - 0x10a4], 0x22
jne 0x1002cea
cmp word [ebp - 0x10a2], 0x3a
jne 0x1002d26
cmp word [ebp - 0x10a0], 0x3a
jne 0x1002d26
lea eax, [ebp - 0x10a4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
lea eax, [ebp - 0x10a2]
push eax
lea eax, [ebp - 0x10a4]
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
lea eax, [ebp - 0x10a4]
push eax
call fcn.010028c9
cmp word [eax], 0
mov dword [ebp + 8], eax
je 0x1002ce0
push 0x1001664
lea eax, [ebp - 0xa8c]
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0xa8c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x1002d1d
and word [ebp - 0xa8c], 0
jmp 0x1002d2e
cmp word [ebp - 0x10a4], 0x3a
jne 0x1002d26
cmp word [ebp - 0x10a2], 0x3a
jne 0x1002d26
lea eax, [ebp - 0x10a4]
push eax
call fcn.010028c9
cmp word [eax], 0
mov dword [ebp + 8], eax
je 0x1002ce0
push eax
lea eax, [ebp - 0xa8c]
push eax
call edi
mov eax, dword [ebp + 8]
and word [eax], 0
jmp 0x1002d2e
and word [ebp - 0x10a4], 0
cmp word [ebp - 0xa8c], 0
je 0x1002dfa
and word [ebp - 0x1edc], 0
lea eax, [ebp - 0xa8c]
push eax
call sub.SHELL32.dll_Ordinal_52
cmp word [eax], 0
je 0x1002d6a
and word [eax - 2], 0
push ebx
push eax
lea eax, [ebp - 0x1edc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1edc]
push edx
push eax
call dword [ecx + 0x2c]
lea eax, [ebp - 0xa8c]
push eax
call sub.SHELL32.dll_Ordinal_56
push 0
push 0
lea eax, [ebp - 0xa8c]
push eax
call dword [sym.imp.SHELL32.dll_PathResolve]
cmp word [ebp - 0xa8c], 0
je 0x1002dfa
test byte [ebp + 0x1c], 0x20
je 0x1002e08
lea eax, [ebp - 0xa8c]
push eax
push 3
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
test byte [ebp + 0x1c], 2
jne 0x1002dd9
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.010027bf
test eax, eax
je 0x1002dcf
or dword [ebp + 0x1c], 2
test byte [ebp + 0x1c], 2
je 0x1002fde
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x474]
push eax
push dword [ebp + 0x14]
call fcn.0100261a
jmp 0x1002fde
cmp word [ebp - 0x10a4], 0
je 0x1002fde
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x16bc]
push eax
call edi
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x16bc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x16bc]
push edx
push eax
call dword [ecx + 0x50]
push ebx
lea eax, [ebp - 0x22ec]
push eax
push 3
push dword [ebp + 0xc]
call esi
push 8
lea eax, [ebp - 0x24]
push eax
push 4
push dword [ebp + 0xc]
call esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.COMCTL32.dll_Ordinal_365]
mov dword [ebp + 8], eax
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x22ec]
push edx
push eax
call dword [ecx + 0x44]
push 0x1001658
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x100162c
lea eax, [ebp - 0x1acc]
push eax
call edi
push ebx
lea eax, [ebp - 0x1acc]
push eax
push 6
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1acc]
push edx
push eax
call dword [ecx + 0x24]
push 0x30c
lea eax, [ebp - 0x2d14]
push eax
push 8
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x2d14]
push edx
push eax
call dword [ecx + 0x1c]
push 0xffffffffffffffff
lea eax, [ebp - 0x26c]
push eax
push ebx
lea eax, [ebp - 0x26fc]
push eax
call dword [sym.imp.SHELL32.dll_Ordinal_79]
cmp dword [ebp + 0x18], 0
je 0x1002f09
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x26fc]
push edx
push eax
call dword [ecx + 0x18]
and dword [ebp + 0x1c], 0xfffffffe
test byte [ebp + 0x1c], 0xa
jne 0x1002f26
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.010027bf
test eax, eax
je 0x1002f26
or dword [ebp + 0x1c], 2
test byte [ebp + 0x1c], 2
je 0x1002fde
lea eax, [ebp - 0x1acc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x22ec]
push eax
lea eax, [ebp - 0x1edc]
jmp 0x1002dde
cmp dword [ebp + 0x18], 0
je 0x1002f95
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x26c]
push 0x1001658
push eax
mov dword [ebp + 8], eax
call edi
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHELL32.dll_Win32DeleteFile]
push 0x1001620
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHELL32.dll_Win32DeleteFile]
mov eax, dword [ebp + 0x1c]
and eax, 4
mov dword [ebp + 8], eax
jne 0x1002fc9
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.01002843
test eax, eax
je 0x1002fb3
or dword [ebp + 0x1c], 4
mov eax, dword [ebp + 0x1c]
and eax, 4
mov dword [ebp + 8], eax
je 0x1002fc9
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.010027bf
cmp dword [ebp + 8], 0
je 0x1002fde
lea eax, [ebp - 0x474]
push eax
push dword [ebp + 0x14]
call fcn.010026d7
lea eax, [ebp - 0x26c]
push eax
call sub.SHELL32.dll_Ordinal_35
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2 + 2]
cmp word [eax], 0
mov dword [ebp + 0xc], eax
jne 0x1002b6c
cmp dword [ebp + 0x18], 0
je 0x100303d
test byte [ebp + 0x1c], 1
je 0x100303d
cmp word [ebp - 0x26c], 0
je 0x100303d
lea eax, [ebp - 0x26c]
push eax
call fcn.010025c0
test eax, eax
je 0x100303d
lea eax, [ebp - 0x26c]
push eax
call sub.SHELL32.dll_Ordinal_35
test eax, eax
jne 0x100301d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
push dword [ebp + 0x10]
push 0x10015f8
call fcn.01006ddf
pop ecx
pop ecx
pop edi
pop esi
leave
ret 0x18