Function at 0x1002ac8c
Capabilities:
Persist via appinit_dlls registry key

Disassembly:
mov eax, 0x10056498
call fcn.10052270
sub esp, 0x364
mov al, byte [ebp - 0x19]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0x64], al
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
push 1
push ecx
mov esi, str.AppInit_DLLs
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
mov dword [ebp - 4], ebx
call fcn.100034da
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call fcn.100034da
lea eax, [ebp - 0x64]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], bl
call fcn.1001e483
add esp, 0x18
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1004b071
test eax, eax
jne 0x1002b18d
push 0x40
lea edi, [ebp - 0x167]
pop ecx
mov byte [ebp - 0x168], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x168]
push eax
push 1
push esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1002145e
add esp, 0x14
mov esi, 0x10078b14
lea eax, [ebp - 0x168]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1002b18d
mov al, byte [ebp - 0x19]
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x54], al
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
push 0x1007012c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.100034da
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 5
call fcn.100034da
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.1001a008
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.1000349d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.1000349d
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
call fcn.100034da
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.100034da
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.100034da
mov byte [ebp - 4], 9
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x34], ebx
mov edx, dword [ebp - 0x50]
cmp edx, ebx
je 0x1002afab
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jae 0x1002afab
lea edi, [edx + eax*4]
mov ecx, edi
call fcn.1000334b
push dword [edi]
call dword [sym.imp.USER32.dll_CharLowerA]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x36f]
mov byte [ebp - 0x370], bl
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x34]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x50]
push dword [eax + ecx*4]
lea eax, [ebp - 0x370]
push 0x104
push eax
call fcn.1000516a
mov eax, dword [ebp - 0x10]
push esi
push esi
lea edi, [eax + 0x78]
lea eax, [ebp - 0x370]
push eax
push esi
push 0x79
mov ecx, edi
call fcn.1001c880
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
add eax, 0x498
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1002ae9a
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x34]
push dword [eax + ecx*4]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push esi
push esi
push eax
push esi
push 0x79
mov ecx, edi
call fcn.1001c880
mov edi, eax
jmp 0x1002ae9d
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
push esi
add eax, 0x498
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1002af95
cmp edi, ebx
mov dword [ebp - 0x40], 1
je 0x1002b15d
cmp dword [ebp - 0x20], ebx
je 0x1002aed1
cmp edi, dword [ebp - 0x3c]
jle 0x1002aed4
mov dword [ebp - 0x3c], edi
push dword [ebp - 0x2c]
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x28]
call fcn.100034da
push esi
mov byte [ebp - 4], 0xa
push dword [ebp - 0x28]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x1002af67
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.10003640
push ebx
push 0x10074230
lea ecx, [ebp - 0x28]
call fcn.100038ba
mov edi, eax
cmp edi, 0xffffffff
je 0x1002af67
push edi
lea eax, [ebp - 0x44]
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a419
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.10003640
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call fcn.1000349d
add edi, 3
lea eax, [ebp - 0x30]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a3de
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.10003640
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.1000349d
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x59c]
cmp edi, ebx
jne 0x1002af78
xor eax, eax
jmp 0x1002af7f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.100035e4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.1000349d
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
call fcn.1002b454
inc dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
jmp 0x1002adea
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x26b]
mov byte [ebp - 0x26c], bl
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str..dll
mov ecx, edx
stosb byte es:[edi], al
call fcn.100038ba
cmp eax, 0xffffffff
je 0x1002aff0
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x26c]
mov ecx, dword [eax]
mov eax, 0x104
push eax
push edx
push eax
push ebx
push ecx
call fcn.1000b367
add esp, 0x14
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push esi
push dword [ebp - 0x18]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x1002b029
lea eax, [ebp - 0x168]
test eax, eax
je 0x1002b019
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.100035e4
push esi
push dword [ebp - 0x14]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x1002b05c
lea eax, [ebp - 0x26c]
test eax, eax
je 0x1002b04c
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x26c]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.100035e4
push esi
push dword [ebp - 0x14]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x1002b08a
mov edi, 0x10070cfc
mov eax, edi
test eax, eax
je 0x1002b07a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.100035e4
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp dword [ebp - 0x40], ebx
je 0x1002b09b
push esi
push dword [ebp - 0x24]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x1002b0d2
mov edi, 0x100748dc
mov eax, edi
test eax, eax
je 0x1002b0ad
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.100035e4
mov eax, dword [ebp - 0x50]
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
push esi
push esi
push eax
push dword [ebp - 0x18]
push 0x1007489c
call fcn.1004b0b6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push 0x100748c4
push eax
call fcn.10018353
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
mov eax, dword [eax]
mov byte [ebp - 4], 0xd
push ecx
push ebx
push ebx
push 0x10074870
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x24]
push eax
call fcn.1004ac01
lea ecx, [ebp - 0x30]
mov edi, eax
mov byte [ebp - 4], 9
call fcn.1000349d
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
call fcn.100034da
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.AppInit_DLLs
call fcn.100034da
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call fcn.100034da
mov ecx, dword [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
push edi
mov byte [ebp - 4], 9
call fcn.1002b1b3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.1000349d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.1000349d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.1000349d
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.10003457
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.1000349d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10003457
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret