Function at 0x102d94e
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x1048628]
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
inc edx
xor edi, edi
cmp eax, 0xffffffff
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x420], edi
je 0x102dcc2
push esi
mov esi, dword [ebp + 0x10]
cmp esi, edi
mov eax, 0x1006978
je 0x102d99a
mov eax, 0x10069a0
cmp ecx, edi
jne 0x102d9a3
mov ecx, 0x1006864
push edx
push eax
push ecx
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x42c]
push eax
push edi
call fcn.0102c82f
test eax, eax
je 0x102dcaf
neg esi
sbb esi, esi
add esi, 0x26d9
push esi
call fcn.0102a7c5
lea eax, [ebp - 0x448]
push eax
call fcn.0102bd09
cmp eax, edi
mov dword [ebp - 0x434], eax
je 0x102dcaf
push 0x1003db8
push eax
call dword [sym.imp.msvcrt.dll_wcstok]
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x102dca3
push ebx
push 0x3a
push esi
mov dword [ebp - 0x428], edi
call dword [sym.imp.msvcrt.dll_wcschr]
cmp eax, edi
pop ecx
pop ecx
je 0x102da2c
mov word [eax], di
add eax, 2
push eax
call fcn.010256dd
mov dword [ebp - 0x428], eax
push esi
push 0x10074cc
push 5
call fcn.0102ae85
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push edi
push esi
push dword [ebp - 0x42c]
call fcn.0103d846
test eax, eax
je 0x102dc8a
push esi
push dword [ebp - 0x42c]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x424], ebx
call fcn.0103d55d
push eax
mov dword [ebp - 0x430], eax
call fcn.0102a5b6
cmp dword [ebp - 0x430], ebx
jb 0x102dc8a
push dword [ebp - 0x424]
call fcn.0102a751
inc dword [ebp - 0x424]
lea eax, [ebp - 0x448]
push eax
call fcn.0102bd09
mov ebx, eax
cmp ebx, edi
je 0x102dc66
cmp dword [ebp + 0x14], edi
jne 0x102db04
mov eax, dword [ebp - 0x428]
and al, 1
neg al
mov esi, 0xffff
sbb eax, eax
and eax, 0xffff0001
add eax, esi
push eax
mov eax, dword [ebp - 0x428]
shr eax, 1
not eax
and eax, 1
push eax
push ebx
push edi
call fcn.01027a35
test eax, eax
jne 0x102db15
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x102daf5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x102db0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, esi
or eax, 0x80070000
jmp 0x102db0f
push ebx
push 0x10074c4
call fcn.01027940
mov dword [ebp - 0x418], eax
push 0x10074b8
push ebx
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x102dc30
xor eax, eax
cmp dword [ebp - 0x418], 0x80070001
mov dword [ebp - 0x41c], edi
sete al
mov esi, eax
cmp esi, edi
jne 0x102dba8
lea eax, [ebp - 0x41c]
push eax
push 1
push edi
push 0x1001bf8
push 0x80000002
call fcn.0101c02d
test eax, eax
jne 0x102dc1e
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x414]
push eax
push edi
push edi
push 0x1007494
push dword [ebp - 0x41c]
mov dword [ebp - 0x438], 0x410
call fcn.0101c24b
test eax, eax
jne 0x102db98
xor esi, esi
inc esi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x102dc1e
push edi
lea eax, [ebp - 0x41c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push 0x1001750
push 0x80000002
mov dword [ebp - 0x418], 0xd2af9
call fcn.0101bbbd
mov esi, eax
cmp esi, edi
jne 0x102dc02
push 4
lea eax, [ebp - 0x418]
push eax
push 4
push edi
push 0x100747c
push dword [ebp - 0x41c]
call fcn.0101c11a
push dword [ebp - 0x41c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov dword [ebp - 0x418], 0xd2af8
push 0x100743c
push 5
call fcn.0102ae85
add esp, 0xc
jmp 0x102dc5f
push ebx
push 0x100741c
push 5
call fcn.0102ae85
add esp, 0xc
jmp 0x102dc59
mov eax, dword [ebp - 0x418]
cmp eax, edi
jl 0x102dc42
push ebx
push 0x100741c
jmp 0x102dc12
push eax
push ebx
push 0x10073e4
push 2
mov dword [ebp - 0x420], eax
call fcn.0102ae85
add esp, 0x10
mov dword [ebp - 0x418], edi
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
lea eax, [ebp - 0x448]
push eax
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x102dc8a
mov eax, dword [ebp - 0x430]
cmp dword [ebp - 0x424], eax
jbe 0x102da85
push 0x1003db8
push edi
call dword [sym.imp.msvcrt.dll_wcstok]
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
jne 0x102da05
pop ebx
push dword [ebp - 0x434]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov edx, dword [ebp - 0x418]
cmp edx, edi
pop esi
jl 0x102dcc2
cmp dword [ebp - 0x420], edi
jne 0x102dcc8
mov dword [ebp - 0x420], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x420]
pop edi
call fcn.01018732
leave
ret 0x10