Function at 0x729b6e17
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
or dword [ebp - 4], 0xffffffff
or dword [ebp - 0xc], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
test byte [ebx + 0x5c], 1
mov dword [ebp - 8], edi
je 0x729b6e42
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push dword [ebx + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x44]
push dword [ebx + 4]
push 0x729b6958
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x94]
lea eax, [ebx + 0x10]
push 0x27
push ecx
push eax
call fcn.729b158c
lea eax, [ebp - 0x6c]
push 0x27
push eax
lea eax, [ebx + 0x30]
push eax
call fcn.729b158c
movzx eax, word [ebx + 0x5a]
push eax
movzx eax, word [ebx + 0x58]
push eax
lea eax, [ebp - 0xb4]
push 0x72969e6c
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x350]
push 0x72969714
push eax
call esi
add esp, 0xc
cmp dword [ebx + 0x48], edi
mov dword [ebp - 0x10], 0x72974a10
jne 0x729b6ec3
mov dword [ebp - 0x10], 0x729749f0
cmp dword [ebx + 0x50], edi
mov esi, 0x80000000
je 0x729b6eda
lea eax, [ebp - 0x350]
push eax
push esi
call fcn.729b6324
mov edi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x350]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b6ef6
mov dword [ebp - 4], edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
mov eax, dword [ebx + 0xc]
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x729b6f0f
lea edx, [ebp - 0x44]
test cl, cl
mov edi, eax
jne 0x729b6f18
lea edi, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call esi
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 1
push 0
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0xb2
je 0x729b6f65
lea eax, [ebp - 0x44]
push eax
call esi
push eax
lea eax, [ebp - 0x44]
push eax
push 1
push 0x72974a28
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
cmp dword [ebx + 0x44], 0
je 0x729b74c1
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x729b6f8f
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
push dword [ebx]
call esi
push eax
push dword [ebx]
push 1
push 0
push dword [ebp - 0xc]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
cmp dword [ebx + 0x48], eax
je 0x729b74a5
cmp dword [ebx + 0x4c], eax
jne 0x729b74a5
push 0x72974a90
call esi
inc eax
push eax
push 0x72974a90
push 1
push 0
push 0x72974ab0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 0xc], 0xffffffff
mov dword [ebp + 8], eax
test eax, eax
jne 0x729b752f
mov ax, word [ebx + 0x5c]
test ah, 0x20
je 0x729b74d1
push 0x72950aa0
call esi
push eax
push 0x72950aa0
push 1
push 0x72974980
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0x20
je 0x729b7085
movzx eax, word [ebx + 0x5e]
push eax
lea eax, [ebp - 0x250]
push dword [ebx]
push 0x72969e50
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
call esi
push eax
lea eax, [ebp - 0x250]
push eax
push 1
push 0x72974a78
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0x80
je 0x729b70cf
movzx eax, word [ebx + 0x60]
push eax
lea eax, [ebp - 0x250]
push dword [ebx]
push 0x72969e50
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
call esi
push eax
lea eax, [ebp - 0x250]
push eax
push 1
push 0x72974988
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
cmp dword [ebx + 0x48], 0
jne 0x729b70ff
test byte [ebx + 0x5d], 0x80
je 0x729b70ff
push 0x72969e44
call esi
push eax
push 0x72969e44
push 1
push 0x72969e34
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0xa0
je 0x729b715c
push 0x72974a88
call esi
push eax
push 0x72974a88
push 1
push 0x72974a68
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
lea eax, [ebp - 0x1c]
push 0xa
push eax
push dword [ebx + 0x40]
call fcn.72a2c084
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x72969e24
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
test byte [ebx + 0x5d], 0xb2
je 0x729b71ac
lea eax, [ebp - 0x6c]
push eax
call esi
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0x729749b0
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
lea eax, [ebp - 0xb4]
push eax
call esi
push eax
lea eax, [ebp - 0xb4]
push eax
push 1
push 0x729749b8
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x729b752f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
invalid