Function at 0x407240
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43747f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x449274]
push ebx
push ebp
push esi
mov dword [esp + 0x12c], eax
push edi
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov byte [esp + 0x30], bl
mov ecx, 0x3f
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebx
push str.SoftwareJgameIIShare
push 0x80000001
mov dword [esp + 0x150], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4072d1
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
push ebx
push str.GUID
push eax
mov dword [esp + 0x28], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call fcn.0042df63
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x148]
mov ebp, dword [esp + 0x144]
mov edx, dword [esi + 0xb8]
push eax
mov eax, dword [esi + 0x158]
push ebp
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [0x44a1a4]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x158], 1
call fcn.00407220
add esp, 0x1c
call fcn.0042df63
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x13c], 2
call fcn.0042df63
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
mov bl, 3
push ecx
mov byte [esp + 0x150], bl
call fcn.00432ec1
test eax, eax
jne 0x4073ed
mov edi, dword [esi + 0x40]
add esi, 0x40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x10]
push eax
push ebx
push str.CPUT:_HttpReportErr_AfxParseURL__s__Error__d_
push esi
call dword [edi]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x13c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4073bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x13c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
jmp 0x4074f6
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00401260
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push eax
mov byte [esp + 0x14c], 4
call fcn.00401260
add eax, 0x10
lea ecx, [esi + 0x50]
mov dword [edi], eax
mov edx, dword [ecx]
add esp, 4
mov byte [esp + 0x148], bl
call dword [edx + 0x28]
test eax, eax
jne 0x407455
mov ecx, dword [esi + 0x40]
push ebp
lea eax, [esi + 0x40]
push 0x43a3bc
push eax
call dword [ecx]
add esp, 0xc
jmp 0x4074a3
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00412700
mov eax, dword [eax]
mov edx, dword [esi + 0x40]
push eax
lea ecx, [esi + 0x40]
push 0x43a39c
push ecx
mov byte [esp + 0x148], 5
call dword [edx]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x13c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x13c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x13c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x13c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407515
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x148]
add eax, 0xfffffff0
mov dword [esp + 0x13c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407541
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x130]
call fcn.0041c871
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 8