Function at 0x2043efb0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x2048223b
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x324]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x334]
mov eax, dword [ebp + 4]
xor ebx, ebx
push ebx
push eax
call fcn.2043ce80
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x24], edi
je 0x2043f10a
push edi
lea eax, [esp + 0x78]
mov word [esp + 0x78], bx
call fcn.2043ca90
mov eax, dword [edi + 4]
add esp, 4
push 0x20019
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.2043d210
add esp, 0x10
test al, al
je 0x2043f105
cmp byte [ebp + 8], bl
je 0x2043f053
lea ecx, [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [ebp + 0x24]
call fcn.2043f670
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov ecx, eax
lea edi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x2043f070
sub ecx, edi
sar ecx, 1
cmp ecx, 0x100
jae 0x2043f0a0
push eax
lea ecx, [esp + 0x120]
push pe_nt_image_headers32
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
jmp 0x2043f0c4
push 0xff
push eax
lea edx, [esp + 0x124]
push pe_nt_image_headers32
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
mov word [esp + 0x31a], bx
mov edx, dword [esp + 0x20]
push 0x20019
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x124]
push ecx
push edx
call fcn.2043d210
add esp, 0x10
test al, al
jne 0x2043f111
cmp byte [ebp + 8], bl
je 0x2043f0f6
add ebp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x24]
call fcn.2043c6e0
xor al, al
jmp 0x2043f225
mov edx, dword [esp + 0x1c]
push 0xe
lea ecx, [esp + 0x5c]
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x2043f1f6
push 5
lea eax, [esp + 0x5c]
push str.Node_
add ebx, 1
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.MSVCR80.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x2043f1db
mov eax, dword [esp + 0x1c]
push 0x20019
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
call fcn.2043d210
add esp, 0x10
test al, al
je 0x2043f1db
lea ecx, [esp + 0x30]
push ecx
call fcn.2043e830
mov dword [esp + 0x32c], 0
mov ebx, dword [esp + 0x28]
lea edi, [esp + 0x30]
call fcn.2043a480
test al, al
je 0x2043f1b8
mov edx, edi
push edx
lea edi, [esp + 0x1f]
call fcn.2043ed30
cmp byte [esp + 0x1b], 0
jne 0x2043f1b8
lea ecx, [esp + 0x30]
push ecx
mov ebx, eax
mov ecx, esi
call fcn.2043f6c0
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x32c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.2043e920
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0xe
lea eax, [esp + 0x5c]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x2043f12d
cmp byte [ebp + 8], 0
je 0x2043f206
add ebp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov edi, dword [esp + 0x24]
call fcn.2043c6e0
mov al, 1
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.20478952
add esp, 0x31c
ret 4