Function at 0x43b040
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490c97
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x4bd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x1f4], edi
mov dword [ebp - 0x1e0], 0
cmp dword [edi + 0x14], 0x10
jb 0x43b08a
mov eax, dword [edi]
lea ecx, [ebp - 0x1e0]
push ecx
push reloc.WS2_32.dll_closesocket
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x43b0b4
push eax
push str.____WNET_API::RegConnectRegistry_Failed__The_Error_is__d_n
call fcn.0040ae50
add esp, 8
jmp 0x43b4e3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x138]
push eax
push 0
push 0
push 0
push dword [ebp - 0x1e0]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x43b0f2
push eax
push str.____WNET_API::RegQueryInfoKey_Failed__The_Error_is__d_n
call fcn.0040ae50
add esp, 8
jmp 0x43b4e3
push 0xff
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0044a330
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
movq qword [ebp - 0x11c], xmm0
add esp, 0xc
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
xor esi, esi
mov dword [ebp - 4], 0
cmp dword [ebp - 0x138], esi
jbe 0x43b395
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x13c], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
push dword [ebp - 0x1e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x43b194
push eax
push str.____WNET_API::RegEnumKeyEx_Failed__The_Error_is__d_n
call fcn.0040ae50
add esp, 8
push ecx
push str.S_1_5_21__0_9___0_9___0_9___0_9__
lea ecx, [ebp - 0x130]
call fcn.0040bab0
mov edx, eax
mov dword [ebp - 0x1ec], edx
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b1c0
sub ecx, edi
lea eax, [ebp - 0x110]
mov edi, dword [edx]
add eax, ecx
mov dword [ebp - 0x1f0], eax
test edi, edi
jne 0x43b1e6
mov byte [ebp - 0x1e5], 0
jmp 0x43b24e
push 0x80
lea eax, [ebp - 0x1dc]
push 0
push eax
call fcn.0044a330
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1dc]
add esp, 0xc
add eax, 4
push 0x1010
push dword [edi + 0x14]
push dword [edi + 0x1c]
push edi
push eax
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x110]
push eax
call fcn.00415b40
push 1
push 0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 2
call fcn.00415ee0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 0x1e5], al
call fcn.0040c9b0
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x43b26f
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x43b26f
mov ecx, dword [ebp - 0x130]
xor edx, edx
call fcn.0040aeb0
mov dword [ebp - 0x130], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x120]
test ecx, ecx
je 0x43b29a
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x43b29a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [ebp - 0x1e5], 0
mov byte [ebp - 4], 0
je 0x43b382
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x134], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b2d0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.00403320
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x114], eax
je 0x43b331
movups xmm0, xmmword [ebp - 0x134]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov byte [ebp - 0x134], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x124]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x118], 0x18
jmp 0x43b34a
lea ecx, [ebp - 0x134]
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.0042c5e0
mov edx, dword [ebp - 0x120]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x43b382
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b378
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b500
push edx
push ecx
call fcn.004449d2
add esp, 8
inc esi
cmp esi, dword [ebp - 0x138]
jb 0x43b150
mov edi, dword [ebp - 0x1f4]
push dword [ebp - 0x1e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x14], 0x10
jb 0x43b3a9
mov edi, dword [edi]
push edi
push str.____s_n
call fcn.0040ae50
mov edi, dword [ebp - 0x118]
add esp, 8
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x1e4], 0
cmp esi, edi
je 0x43b4d8
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x134]
call fcn.00403180
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1e4]
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
push ecx
cmovae eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidA]
push 0
push dword [ebp - 0x1e4]
lea eax, [ebp - 0x154]
push eax
call fcn.00418bf0
cmp dword [ebp - 0x140], 0x10
lea ecx, [ebp - 0x154]
lea eax, [ebp - 0x134]
cmovae ecx, dword [ebp - 0x154]
cmp dword [ebp - 0x120], 0x10
push ecx
cmovae eax, dword [ebp - 0x134]
push eax
push str._t__s_______s_n
call fcn.0040ae50
mov edx, dword [ebp - 0x140]
add esp, 0xc
cmp edx, 0x10
jb 0x43b493
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b489
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b500
push edx
push ecx
call fcn.004449d2
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x120]
cmp edx, 0x10
jb 0x43b4cd
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b4c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b500
push edx
push ecx
call fcn.004449d2
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x43b3e0
lea ecx, [ebp - 0x11c]
call fcn.0040ab50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444991
mov esp, ebp
pop ebp
ret 4
call fcn.0045abc1
int3