Function at 0x404f10
Capabilities:
Delete registry value
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1868
call fcn.0040f550
sub esp, eax
mov esi, edx
mov eax, dword [esp + eax]
mov dword [esp + 0x4c], 0
mov ebx, eax
lea eax, [edx + 0x7f18]
cmp ax, 0x63
jbe 0x404f78
movzx eax, dx
cmp dx, 0x8066
ja 0x405040
cmp eax, 0x8001
jbe case.0x40504e.33103
sub eax, 0x8002
cmp eax, 0x64
ja case.0x40504e.33103
jmp dword [eax*4 + 0x41133c]
xor eax, eax
add esp, 0x186c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x50]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne case.0x404f5b.32825
lea eax, [esp + 0x58]
movzx esi, si
mov dword [esp + 0x54], 0x400
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x5c]
sub esi, 0x80e8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x54]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
lea ebx, [esp + 0x860]
mov dword [esp + 0x58], 0x1000
mov dword [esp + 0x5c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
je 0x405058
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esi, [esi]
mov eax, 1
jmp 0x404f6a
sub eax, 0x814c
cmp eax, 0xa
ja case.0x40504e.33103
jmp dword [eax*4 + 0x4114d0]
mov eax, dword [section..bss]
mov dword [esp + 4], ebx
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040db60
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov eax, dword [section..bss]
mov dword [esp + 4], 0x110b
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x4156fc]
sub esp, 0x10
jmp 0x40501c
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov ebx, dword [0x4156fc]
mov dword [esp + 4], 0x110a
mov eax, dword [eax + 4]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [section..bss]
mov dword [esp + 8], 3
mov dword [esp + 4], 0x1102
mov eax, dword [eax + 4]
mov dword [esp], eax
call ebx
sub esp, 0x10
jmp case.0x404f5b.32825
mov edi, 7
lea eax, [esp + 0x4c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040cd00
mov dword [esp + 0xc], edi
mov esi, eax
mov dword [esp], ebx
lea eax, [esp + 0x860]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00403910
test eax, eax
jne 0x405c70
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
jmp case.0x404f5b.32825
lea esi, [esp + 0x60]
mov eax, ebx
lea ebx, [esp + 0x860]
mov edx, esi
call fcn.00404c30
mov eax, dword [0x414c54]
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x91
mov dword [esp], eax
call dword [0x4156c0]
sub esp, 0x10
mov dword [esp + 0x90], ebx
mov dword [esp + 0x9c], 0x4112e6
mov dword [esp + 0x94], 0x80066
mov dword [esp + 0xa4], 0x4044c0
mov dword [esp + 0xa8], 0x83
mov dword [esp], esi
call dword [0x415444]
sub esp, 4
test eax, eax
je 0x405cc0
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.0040c350
test eax, eax
jne case.0x404f5b.32825
test byte [0x410014], 1
je case.0x404f5b.32825
mov dword [esp + 0xc], str.Registry_export_failed._n
mov dword [esp + 8], str.ExportRegistryFile
mov dword [esp + 4], 0x410014
mov dword [esp], 0
call fcn.00404720
jmp case.0x404f5b.32825
mov edi, 0xb
jmp 0x405105
mov edi, 2
jmp 0x405105
cmp dx, 0x800e
je 0x405f48
cmp word [0x4147e0], 0
je case.0x404f5b.32825
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov edi, dword [0x4156fc]
mov dword [esp + 4], 0x110a
mov eax, dword [eax + 4]
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
test eax, eax
je case.0x404f5b.32825
mov eax, dword [section..bss]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0x60], eax
mov dword [esp + 4], 0x7f02
mov dword [esp], 0
call dword [0x4156b0]
mov ebp, dword [0x41570c]
sub esp, 8
mov dword [esp], eax
call ebp
sub esp, 4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [0x410010]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x4147e0
mov dword [esp + 0xc], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040def0
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call ebp
sub esp, 4
test esi, esi
je 0x40604a
mov eax, dword [section..bss]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110b
mov eax, dword [eax + 4]
mov dword [esp], eax
call edi
mov eax, dword [section..bss]
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x415698]
mov eax, dword [section..bss]
sub esp, 0xc
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x415740]
sub esp, 4
cmp dword [esp + 0x60], 0xffffffff
je 0x406092
xor eax, eax
mov dword [esp + 8], 0xffffffff
mov edx, 3
mov dword [esp + 0x86c], eax
mov eax, dword [section..bss]
lea ebx, [esp + 0x860]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x102b
mov dword [esp + 0x870], edx
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
mov eax, 3
mov edx, 3
sub esp, 0x10
mov dword [esp + 0x86c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x102b
mov dword [esp + 0x870], edx
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
mov eax, dword [section..bss]
sub esp, 0x10
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [0x415718]
sub esp, 4
jmp case.0x404f5b.32825
mov eax, dword [section..bss]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00407db0
mov dword [esp + 4], 0
mov edi, eax
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040cd00
mov dword [esp], ebx
mov esi, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
call fcn.00403560
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], esi
call ebx
mov dword [esp], edi
call ebx
jmp case.0x404f5b.32825
lea eax, [esp + 0x4c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040cd00
mov ebx, eax
test eax, eax
je 0x405f82
cmp word [eax], 0
mov esi, dword [0x415664]
je 0x4054f8
call esi
mov edx, dword [section..bss]
cmp eax, dword [edx + 4]
je 0x406006
call esi
mov edx, dword [section..bss]
cmp eax, dword [edx + 8]
je 0x405ff9
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp case.0x404f5b.32825
mov eax, dword [section..bss]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00401660
mov esi, eax
test eax, eax
je case.0x404f5b.32825
mov dword [esp], ebx
call dword [0x4156d0]
sub esp, 4
test eax, eax
je 0x405152
call dword [0x415634]
test eax, eax
je 0x4055d8
cmp word [esi], 0
mov eax, esi
je 0x405579
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x405570
sub eax, esi
mov dword [esp], 0x42
add eax, 2
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalLock]
xor edx, edx
sub esp, 4
lea esi, [esi]
movzx ecx, word [esi + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x4055a8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], 0xd
call dword [0x415708]
sub esp, 8
call dword [0x415608]
jmp 0x405152
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4049e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x86
mov dword [esp], 0
call dword [0x41562c]
sub esp, 0x14
cmp eax, 1
jne case.0x404f5b.32825
lea eax, [esp + 0x860]
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne case.0x404f5b.32825
mov eax, dword [esp + 0x860]
mov dword [esp + 4], 0x4148e0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
sub esp, 8
mov eax, dword [esp + 0x860]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp case.0x404f5b.32825
mov edi, dword [0x414c4c]
mov dword [esp], edi
call dword [0x4156a8]
mov esi, eax
mov eax, dword [0x414c48]
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x41567c]
sub esp, 8
test esi, esi
jne 0x405c98
mov dword [esp + 8], 8
mov dword [esp + 4], 0x8006
mov dword [esp], eax
call dword [0x4155fc]
mov eax, 5
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [0x415730]
sub esp, 8
lea esi, [esp + 0x860]
mov dword [esp], ebx
mov dword [esp + 4], esi
call dword [0x415650]
mov edx, esi
mov eax, ebx
sub esp, 8
call fcn.00404e70
jmp case.0x404f5b.32825
lea eax, [esp + 0x860]
mov dword [esp + 4], eax
mov eax, dword [section..bss]
mov eax, dword [eax]
mov dword [esp], eax
call dword [0x415650]
mov edx, dword [section..bss]
sub esp, 8
mov eax, dword [edx + 0x10]
add eax, dword [esp + 0x860]
mov esi, eax
mov eax, dword [esp + 0x86c]
movd xmm0, esi
mov ebx, eax
shr ebx, 0x1f
add ebx, eax
lea eax, [esp + 0x60]
sar ebx, 1
mov dword [esp + 4], eax
mov eax, dword [edx]
movd xmm1, ebx
punpckldq xmm0, xmm1
movq qword [esp + 0x60], xmm0
mov dword [esp], eax
call dword [0x415604]
sub esp, 8
test eax, eax
je case.0x404f5b.32825
mov eax, dword [esp + 0x64]
shl ebx, 0x10
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call dword [0x415710]
sub esp, 8
mov dword [esp + 4], 0x7f84
mov dword [esp], 0
call dword [0x4156b0]
sub esp, 8
mov dword [esp], eax
call dword [0x41570c]
movzx eax, si
or ebx, eax
mov eax, dword [section..bss]
sub esp, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x201
mov eax, dword [eax]
mov dword [esp], eax
call dword [0x4156fc]
sub esp, 0x10
jmp case.0x404f5b.32825
lea edx, [esp + 0x868]
xor eax, eax
mov ecx, 0xe
lea esi, [esp + 0x860]
mov edi, edx
xor ebp, ebp
rep stosd dword es:[edi], eax
mov eax, 1
mov edx, 0xffff0001
mov word [edi], bp
mov word [esp + 0x880], ax
mov eax, 0xffffffff
mov dword [esp + 0x860], 0x42
mov dword [esp + 0x864], ebx
mov dword [esp + 0x874], 0x40100
mov dword [esp + 0x878], eax
mov dword [esp + 0x87c], edx
mov dword [esp], esi
call dword [0x415448]
sub esp, 4
test eax, eax
je case.0x404f5b.32825
test byte [0x410014], 1
jne 0x405fd0
mov eax, dword [esp + 0x870]
mov dword [esp], eax
call dword [0x415454]
sub esp, 4
jmp case.0x404f5b.32825
call dword [0x415664]
mov esi, eax
mov eax, dword [section..bss]
mov edx, dword [eax + 4]
cmp esi, edx
je 0x405f97
cmp esi, dword [eax + 8]
je 0x405d39
mov ebx, dword [0x4156a0]
mov dword [esp + 4], esi
mov dword [esp], edx
call ebx
sub esp, 8
test eax, eax
jne 0x4058e7
mov eax, dword [section..bss]
mov dword [esp + 4], esi
mov eax, dword [eax + 8]
mov dword [esp], eax
call ebx
sub esp, 8
test eax, eax
je case.0x404f5b.32825
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 0x100
mov dword [esp], esi
call dword [0x4156fc]
sub esp, 0x10
jmp case.0x404f5b.32825
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0x41132a
mov dword [esp], ebx
call dword [0x415744]
sub esp, 0x10
jmp case.0x404f5b.32825
mov dword [esp], ebx
call fcn.00401000
jmp case.0x404f5b.32825
lea eax, [esp + 0x4c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [section..bss]
lea esi, [esp + 0x860]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040cd00
mov dword [esp + 0xc], esi
mov edi, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00403400
test eax, eax
jne 0x405d00
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp case.0x404f5b.32825
mov edi, 4
jmp 0x405105
mov dword [esp], ebx
call dword [0x415628]
sub esp, 4
jmp case.0x404f5b.32825
mov eax, dword [section..bss]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00401660
mov esi, eax
test eax, eax
je case.0x404f5b.32825
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x403fc0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x85
mov dword [esp], 0
call dword [0x41562c]
sub esp, 0x14
cmp eax, 1
jne 0x405152
lea eax, [esp + 0x860]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x405152
cmp word [esi], 0
mov eax, esi
je 0x405a89
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x405a80
sub eax, esi
mov dword [esp + 0x10], esi
add eax, 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x860]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4148e0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
mov eax, dword [esp + 0x860]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x405152
lea eax, [esp + 0x4c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040cd00
mov ebx, eax
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040e0e0
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004087e0
jmp 0x405509
lea esi, [esp + 0x60]
mov eax, ebx
mov dword [esp + 0x5c], 0
lea edi, [esp + 0x860]
mov edx, esi
call fcn.00404c30
mov eax, dword [0x414c54]
mov dword [esp + 0xc], pe_nt_image_headers32
or dword [esp + 0x94], 0x800000
mov dword [esp + 8], edi
mov dword [esp + 4], 0x90
mov dword [esp], eax
call dword [0x4156c0]
sub esp, 0x10
mov dword [esp + 0x90], edi
mov dword [esp], esi
call dword [0x415440]
sub esp, 4
test eax, eax
je 0x405c88
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 0x4112e0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wfopen]
mov esi, eax
test eax, eax
je 0x405cd0
mov dword [esp], eax
call fcn.0040c0a0
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.ucrtbase.dll_fclose]
test eax, eax
jne 0x405cd0
test edi, edi
je 0x405cd0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], 0x7e2
mov dword [esp + 8], 0x67
mov dword [esp + 4], 0x40
mov dword [esp], ebx
mov dword [esp + 0x10], eax
call fcn.004033d0
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040e0e0
lea eax, [esp + 0x5c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040cd00
mov dword [esp + 0xc], 0
mov ebx, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
jmp 0x405b22
mov edi, 1
jmp 0x405105
mov edi, 3
jmp 0x405105
mov eax, dword [section..bss]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00408470
jmp 0x405152
call dword [0x41543c]
jmp 0x405c0c
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8006
mov dword [esp], eax
call dword [0x4155fc]
xor eax, eax
sub esp, 0xc
jmp 0x4056e6
call dword [0x41543c]
jmp case.0x404f5b.32825
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], 0x7e3
mov dword [esp + 8], 0x67
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0x10], eax
call fcn.004033d0
jmp case.0x404f5b.32825
mov eax, dword [section..bss]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040e280
test eax, eax
je 0x40598f
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040e4b0
jmp 0x40598f
mov edi, dword [0x4156fc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1032
mov dword [esp], esi
call edi
sub esp, 0x10
test eax, eax
je case.0x404f5b.32825
cmp eax, 1
mov dword [esp + 8], 0x8048
setne al
mov dword [esp + 4], 0x34
movzx eax, al
mov dword [esp], ebx
lea eax, [eax + eax + 0x8049]
mov dword [esp + 0xc], eax
call fcn.004033d0
cmp eax, 6
jne case.0x404f5b.32825
lea eax, [esp + 0x4c]
xor esi, esi
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov dword [esp + 4], esi
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040cd00
mov dword [esp + 0xc], 1
mov dword [esp + 0x38], eax
mov eax, dword [section..bss]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [section..bss]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
cmp eax, 0xffffffff
je 0x406080
mov ebp, ebx
jmp 0x405e54
mov eax, dword [section..bss]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
cmp eax, 0xffffffff
je 0x406080
mov eax, dword [section..bss]
mov dword [esp + 4], esi
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00407d90
mov dword [esp], ebp
mov ebx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00403860
test eax, eax
je 0x406077
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x1008
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
test esi, esi
jne 0x405e21
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004080b0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x405e21
mov eax, 1
xor edx, edx
mov dword [esp + 4], 0x102b
mov dword [esp + 0x86c], eax
mov dword [esp + 0x870], eax
lea eax, [esp + 0x860]
mov dword [esp + 0xc], eax
mov eax, dword [section..bss]
mov dword [esp + 8], edx
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
sub esp, 0x10
jmp 0x405e21
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x404210
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x87
mov dword [esp], 0
call dword [0x41562c]
sub esp, 0x14
cmp eax, 1
jne case.0x404f5b.32825
jmp 0x40526b
mov dword [esp], 0x10
call dword [0x4156c4]
sub esp, 4
jmp case.0x404f5b.32825
lea eax, [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call fcn.0040cd00
mov esi, eax
test eax, eax
je 0x405fbb
cmp word [eax], 0
jne 0x406013
mov dword [esp], 0x10
call dword [0x4156c4]
sub esp, 4
jmp 0x405152
mov dword [esp + 0xc], str.printing_is_not_yet_implemented._n
mov dword [esp + 8], str.PrintRegistryHive
mov dword [esp + 4], 0x410014
mov dword [esp], 0
call fcn.00404720
jmp 0x40587c
mov dword [esp], eax
call fcn.00408470
jmp 0x405509
mov dword [esp], eax
call fcn.0040e4b0
jmp 0x405509
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00403780
test eax, eax
je 0x405152
mov eax, dword [section..bss]
xor edi, edi
mov dword [esp + 4], edi
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0040de80
jmp 0x405152
mov dword [esp + 0x10], 0x4147e0
mov dword [esp + 0xc], 0x804a
mov dword [esp + 8], 0x67
mov dword [esp + 4], 0x40
mov dword [esp], ebx
call fcn.004033d0
jmp case.0x404f5b.32825
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp case.0x404f5b.32825
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x415718]
push eax
jmp case.0x404f5b.32825