Function at 0x40344d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1003c
call fcn.00441fa0
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ebx
xor ebx, ebx
mov dword [0x4d2394], eax
push esi
mov eax, 0x49cc34
mov word [0x4d2390], bx
push edi
mov byte [0x4d2392], bl
mov dword [0x4d2398], ebx
mov dword [0x4d239c], ebx
mov dword [0x4d23a0], ebx
mov dword [0x4d23a4], ebx
mov dword [0x4d23a8], eax
mov dword [0x4d23ac], ebx
mov dword [0x4d23b0], ebx
mov dword [0x4d23b4], ebx
mov dword [0x4d23b8], 0x49c944
mov dword [0x4d23bc], ebx
mov dword [0x4d23c0], ebx
mov dword [0x4d23c4], ebx
mov dword [0x4d23c8], eax
mov dword [0x4d23cc], ebx
mov dword [0x4d23d0], ebx
mov dword [0x4d23d4], ebx
mov dword [0x4d23dc], ebx
mov dword [0x4d23e0], 0x49c93c
mov dword [0x4d23e4], ebx
mov dword [0x4d23e8], ebx
mov dword [0x4d23ec], ebx
mov dword [0x4d23f0], 0x66
call fcn.0040a971
lea ecx, [esp + 0x28]
call fcn.00403a5a
lea edx, [esp + 0x28]
mov ecx, edx
call fcn.00403357
push str.Include_
lea ecx, [esp + 0x2c]
call fcn.004033c6
lea eax, [esp + 0x28]
mov ecx, 0x4d23c8
push eax
call fcn.0040515f
lea ecx, [esp + 0x18]
call fcn.0040a971
lea ecx, [esp + 0x18]
call fcn.0040a6d3
lea eax, [esp + 0x10]
xor esi, esi
push eax
push 1
push esi
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4431c6
lea ecx, [esp + 0x18]
call fcn.0040989f
lea ecx, [esp + 0x28]
call fcn.0040989f
pop edi
pop esi
mov eax, 0x4d2390
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
push eax
push esi
push esi
push esi
push 0x4af358
push dword [esp + 0x24]
call edi
test eax, eax
jne 0x44325c
mov eax, dword [esp + 0x14]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe5b
pop ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00405722
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push esi
xor eax, eax
push eax
push eax
push 0x4af358
push dword [esp + 0x24]
call edi
test eax, eax
jne 0x443240
mov eax, dword [esp + 0x14]
xor ecx, ecx
shr eax, 1
mov dword [esp + 0x14], eax
push esi
mov word [esi + eax*2], cx
lea ecx, [esp + 0x1c]
call fcn.00406b67
mov bl, 1
mov eax, dword [esp + 0x3c]
sub dword [eax], 1
jne 0x44325a
push 4
push eax
call fcn.0041fe1d
push esi
call fcn.0041fe64
add esp, 0xc
xor esi, esi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x403578
xor eax, eax
xor edi, edi
mov word [esp + 0x48], ax
push esi
lea ecx, [esp + 0x1c]
call fcn.00404c6d
push esi
lea ecx, [esp + 0x1c]
mov ax, word [eax]
mov word [esp + 0x14], ax
xor eax, eax
mov word [esp + 0x16], ax
call fcn.00404c6d
cmp word [eax], di
je 0x4432c2
push esi
lea ecx, [esp + 0x1c]
call fcn.00404c6d
cmp word [eax], 0x3b
je 0x4432c2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00429088
pop ecx
pop ecx
jmp 0x443335
lea eax, [esp + 0x48]
push eax
call fcn.004249b3
pop ecx
test eax, eax
je 0x4432f5
lea eax, [esp + 0x48]
push eax
call fcn.004249b3
pop ecx
cmp word [esp + eax*2 + 0x46], 0x5c
je 0x4432f5
lea eax, [esp + 0x48]
push 0x49cb68
push eax
call fcn.00429088
pop ecx
pop ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
call fcn.00409cc3
lea eax, [esp + 0x38]
mov ecx, 0x4d23c8
push eax
call fcn.0040515f
lea ecx, [esp + 0x38]
call fcn.0040989f
xor eax, eax
lea ecx, [esp + 0x18]
push esi
mov word [esp + 0x4c], ax
call fcn.00404c6d
cmp word [eax], di
je 0x403578
inc esi
jmp 0x443277