Function at 0x404330
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x8d8
mov dword [ebp - 0x8a8], eax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x8b4], edx
mov dword [ebp - 0x8b0], ecx
mov dword [ebp - 0x886], 0x300025
mov dword [ebp - 0x882], 0x580032
mov dword [ebp - 0x87e], 0x20
mov dword [ebp - 0x88e], 0x2e002e
mov dword [ebp - 0x88a], 0x2e
mov dword [ebp - 0x86a], 0x730025
mov dword [ebp - 0x866], 0x5b0020
mov dword [ebp - 0x862], 0x730025
mov dword [ebp - 0x85e], 0x20005d
mov dword [ebp - 0x85a], 0x20003d
mov dword [ebp - 0x856], 0x730025
mov word [ebp - 0x852], si
mov dword [ebp - 0x87a], 0x730025
mov dword [ebp - 0x876], 0x3d0020
mov dword [ebp - 0x872], 0x250020
mov dword [ebp - 0x86e], 0x73
mov dword [ebp - 0x848], 1
mov dword [ebp - 0x834], 0x100
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x84c], 0xffff0002
mov dword [ebp - 0x850], edx
mov dword [ebp - 0x8ac], edx
mov dword [ebp - 0x8a4], 0
jmp 0x4044ae
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8b0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x86a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp], eax
call ebx
mov eax, dword [0x40e310]
lea edi, [ebp - 0x850]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call esi
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x4044a8
mov eax, dword [str.AppID]
cmp dword [ebp - 0x80c], eax
je 0x404570
inc dword [ebp - 0x8a4]
lea eax, [ebp - 0x898]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x60c]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x894]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x89c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8a4]
mov dword [ebp - 0x89c], 0x100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x898], 0x200
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x4047cd
cmp dword [ebp - 0x894], 3
mov ebx, dword [sym.imp.user32.dll_wsprintfW]
je 0x404730
mov edx, dword [ebp - 0x89c]
lea eax, [ebp - 0x60c]
test edx, edx
jne 0x404430
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8b0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x87a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp], eax
call ebx
jmp 0x40445d
mov eax, dword [0x417c24]
cmp dword [ebp - 0x808], eax
jne 0x4044a8
mov eax, dword [0x417c28]
cmp dword [ebp - 0x804], eax
jne 0x4044a8
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x80c]
mov word [ebp + eax - 0x40c], dx
add eax, 2
test dx, dx
jne 0x404598
lea eax, [ebp - 0x60c]
mov dword [esp + 8], 0x1f4
mov dword [esp + 4], eax
lea eax, [ebp - 0x600]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
xor eax, eax
mov edx, 0x43
jmp 0x4045e7
movzx edx, word [eax + 0x417c3c]
mov word [ebp + eax - 0x60c], dx
add eax, 2
test dx, dx
jne 0x4045e0
mov eax, 0x5c
mov dword [esp], 0x80000000
mov word [ebp - 0x602], ax
lea eax, [ebp - 0x8a0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x60c]
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x4044a8
mov eax, dword [0x40e310]
mov dword [esp + 0xc], edi
mov dword [ebp - 0x850], 0xffff0000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call esi
mov dword [ebp - 0x89c], 0x200
sub esp, 0x10
mov dword [ebp - 0x850], eax
lea eax, [ebp - 0x89c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8a0]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov eax, dword [ebp - 0x8a0]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x80c]
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x600]
mov dword [esp + 8], eax
lea eax, [ebp - 0x87a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp], eax
call ebx
mov eax, dword [0x40e310]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x850]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x8b4]
sub esp, 0x10
mov dword [ebp - 0x850], eax
jmp 0x4044a8
lea esi, [ebp - 0x60c]
lea edi, [ebp - 0x20c]
lea esi, [esi]
movzx eax, byte [esi]
mov dword [esp], edi
add edi, 6
add esi, 2
mov dword [esp + 8], eax
lea eax, [ebp - 0x886]
mov dword [esp + 4], eax
call ebx
lea eax, [ebp - 0x14]
cmp edi, eax
jne 0x404740
mov eax, dword [ebp - 0x898]
mov edx, 0xff
lea eax, [eax + eax*2]
cmp eax, 0xff
cmova eax, edx
xor ecx, ecx
mov word [ebp + eax*2 - 0x20c], cx
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x20c]
mov word [ebp + eax - 0x60c], dx
add eax, 2
test dx, dx
jne 0x404788
xor eax, eax
mov edx, 0x2e
jmp 0x4047b8
movzx edx, word [ebp + eax - 0x88e]
mov word [ebp + eax - 0x416], dx
add eax, 2
test dx, dx
jne 0x4047b0
jmp 0x404533
mov ebx, dword [ebp - 0x8a4]
test ebx, ebx
jne 0x404800
mov eax, dword [ebp - 0x8b0]
cmp word [eax], 0
je 0x404800
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4047e8
sub eax, dword [ebp - 0x8b0]
cmp eax, 2
jg 0x404df8
mov ebx, 0xffffffff
lea edi, [ebp - 0x8a0]
mov esi, dword [ebp - 0x8a8]
lea eax, [ebp - 0x80c]
inc ebx
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x4048c5
lea eax, [ebp - 0x80c]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x40480b
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x8ac]
lea ecx, [ebp - 0x80c]
mov dword [esp], eax
mov eax, dword [ebp - 0x8a0]
mov edx, esi
call sym._CreateRegRec
mov eax, dword [0x40e310]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 4], 0x1102
mov dword [ebp - 0x8a4], eax
call eax
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
jne 0x4048cd
mov edx, dword [ebp - 0x8a0]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], edx
call esi
sub esp, 4
jmp 0x40480b
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [str.ProgID]
cmp dword [ebp - 0x80c], eax
je 0x404db4
mov eax, 1
mov edx, dword [ebp - 0x8a0]
test eax, eax
je 0x404d20
lea eax, [ebp - 0x80c]
mov dword [esp + 8], 0x22
mov dword [esp + 4], str.ProxyStubClsid32
mov dword [esp], eax
mov dword [ebp - 0x8b0], edx
call sym._memcmp
mov edx, dword [ebp - 0x8b0]
test eax, eax
je 0x40493c
mov ecx, dword [ebp - 0x80c]
cmp ecx, dword [0x417fa4]
je 0x404b26
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x4048b8
mov dword [esp], edx
lea eax, [ebp - 0x898]
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x8b0], edx
mov dword [ebp - 0x898], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call edx
mov eax, dword [ebp - 0x8a0]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 0x417c3c
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0x89c]
mov edx, dword [ebp - 0x8b0]
mov dword [ebp - 0x89c], 0x200
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8a0]
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x850], 0xffff0000
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x87a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp + 8], 0x417c3c
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x850]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
mov eax, dword [ebp - 0x8a4]
call eax
mov dword [ebp - 0x850], eax
mov eax, dword [ebp - 0x8a0]
sub esp, 0x10
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x898]
lea ecx, [ebp - 0x60c]
sub esp, 4
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x600]
mov dword [esp], ecx
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [0x417c3c]
lea ecx, [ebp - 0x60c]
mov edx, 0x5c
mov dword [esp + 4], ecx
mov dword [ebp - 0x60c], eax
mov eax, dword [0x417c40]
mov dword [esp + 8], edi
mov dword [ebp - 0x608], eax
mov eax, dword [0x417c44]
mov dword [esp], 0x80000000
mov dword [ebp - 0x604], eax
mov word [ebp - 0x602], dx
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea ecx, [ebp - 0x600]
sub esp, 0xc
mov dword [esp], 0
mov edx, dword [ebp - 0x850]
mov eax, dword [ebp - 0x8a0]
call sym._CreateRegRec
mov eax, dword [ebp - 0x850]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp], eax
mov eax, dword [ebp - 0x8a4]
call eax
mov eax, dword [ebp - 0x8b4]
mov edx, dword [ebp - 0x8a0]
sub esp, 0x10
mov dword [ebp - 0x850], eax
jmp 0x4048b8
mov eax, dword [ebp - 0x808]
mov dword [ebp - 0x8b0], eax
cmp eax, dword [0x417fa8]
jne 0x404931
mov eax, dword [ebp - 0x804]
mov dword [ebp - 0x8b8], eax
cmp eax, dword [0x417fac]
jne 0x404931
mov eax, dword [ebp - 0x800]
mov dword [ebp - 0x8bc], eax
cmp eax, dword [0x417fb0]
jne 0x404931
mov dword [esp], edx
lea eax, [ebp - 0x898]
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x8c4], ecx
mov dword [ebp - 0x8c0], edx
mov dword [ebp - 0x898], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call edx
mov eax, dword [ebp - 0x8a0]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 0x417fa4
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0x89c]
mov edx, dword [ebp - 0x8c0]
mov dword [ebp - 0x89c], 0x200
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8a0]
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x850], 0xffff0000
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x87a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp + 8], 0x417fa4
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x850]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
mov eax, dword [ebp - 0x8a4]
call eax
mov dword [ebp - 0x850], eax
mov eax, dword [ebp - 0x8a0]
sub esp, 0x10
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x898]
lea edx, [ebp - 0x5fc]
lea ecx, [ebp - 0x60c]
sub esp, 4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov ecx, dword [ebp - 0x8c4]
mov dword [esp + 8], edi
mov eax, 0x5c
mov dword [esp], 0x80000000
mov dword [ebp - 0x60c], ecx
mov ecx, dword [ebp - 0x8b0]
mov dword [ebp - 0x608], ecx
mov ecx, dword [ebp - 0x8b8]
mov dword [ebp - 0x604], ecx
mov ecx, dword [ebp - 0x8bc]
mov dword [ebp - 0x600], ecx
lea ecx, [ebp - 0x60c]
mov dword [esp + 4], ecx
mov word [ebp - 0x5fe], ax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea edx, [ebp - 0x5fc]
sub esp, 0xc
mov ecx, edx
mov dword [esp], 0
jmp 0x404ad1
lea eax, [ebp - 0x898]
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x898], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov eax, dword [ebp - 0x8a0]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call esi
lea eax, [ebp - 0x60c]
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x40480b
mov dword [esp], 0
mov eax, dword [ebp - 0x8a0]
mov edx, 0xffff0000
lea ecx, [ebp - 0x60c]
call sym._CreateRegRec
mov edx, dword [ebp - 0x8a0]
jmp 0x4048b8
mov eax, dword [0x417ec8]
cmp dword [ebp - 0x808], eax
jne 0x4048de
mov eax, dword [0x417ecc]
cmp dword [ebp - 0x804], eax
jne 0x4048de
movzx eax, word [0x417ed0]
cmp word [ebp - 0x800], ax
jne 0x4048de
xor eax, eax
jmp 0x4048e3
mov eax, dword [ebp - 0x8b0]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x850]
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x8ac], eax
lea eax, [ebp - 0x40c]
sub esp, 0x10
mov dword [ebp - 0x838], eax
jmp 0x404800