Function at 0x4ddc40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db7e5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x63d284]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4dde9e
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
call fcn.0040b813
mov ecx, eax
test ecx, ecx
je 0x4ddece
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4ddcfe
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.0040bfb3
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x208
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0
push str.version
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ddd3c
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x4ddd2d
cmp eax, 2
jne 0x4ddd3c
test esi, esi
je 0x4ddd3c
cmp dword [ebp - 0x14], 0
jne 0x4ddd3c
xor eax, eax
mov word [esi], ax
push dword [esi - 8]
push esi
call fcn.0057e591
add esp, 8
test eax, eax
js 0x4ddefe
cmp eax, dword [esi - 8]
jg 0x4ddefe
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edi, esi
mov dword [ebx], ecx
xor eax, eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4ddd80
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x4dddaf
mov dword [ebx + 0x10], edi
add edi, edi
push edi
push esi
push ebx
call fcn.00572f50
add esp, 0xc
xor eax, eax
mov word [edi + ebx], ax
jmp 0x4dde60
cmp edi, 0x7ffffffe
ja 0x4dded8
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4dddd5
mov dword [ebp - 0x20], SysReAllocString
mov eax, 0xfffffffe
jmp 0x4dddf7
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x20], eax
inc eax
cmp eax, 0x7fffffff
ja 0x4ddef9
add eax, eax
cmp eax, 0x1000
jb 0x4dde20
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4ddef9
push ecx
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4ddedd
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4dde3c
test eax, eax
je 0x4dde3a
push eax
call fcn.00591cad
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4ddeeb
jmp 0x4dde3f
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x10], edi
add edi, edi
push edi
push esi
push eax
mov dword [ebx + 0x14], ecx
call fcn.005729d0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
mov dword [ebx], eax
mov word [edi + eax], cx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4dde7c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ddeba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], eax
mov word [ebx], ax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040c3c1
call fcn.0040791f
push 0x638780
lea eax, [ebp - 0xd]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0xe]
push eax
call fcn.0057359b
call fcn.00407b84
push 0x80070057
call fcn.0040c3c1
int3