Function at 0x4024b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
push esi
push edi
lea edi, [ebp - 0x47c]
mov ecx, 0x11f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x406010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xffffffff
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x2011f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.00402e91
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40252e
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.00402e91
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402841
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x2c], 0x104
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x454], eax
mov byte [ebp - 0x455], 0
mov esi, esp
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x454]
push edx
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, dword [str.Configuration]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.00402e91
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xea
jne 0x4025fb
cmp dword [ebp - 0x2c], 0
jbe 0x4025fb
cmp dword [ebp - 0x2c], 0x40000
jae 0x4025fb
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x454], eax
mov esi, esp
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x454]
push edx
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, dword [str.Configuration]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.00402e91
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40282e
mov esi, esp
push 0x104
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.MSVCR100.dll__wcslwr_s]
add esp, 8
cmp esi, esp
call fcn.00402e91
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x402634
or eax, 0xffffffff
jmp 0x402844
mov ecx, dword [str.oracle_javaaccessbridge]
push ecx
lea edx, [ebp - 0x23c]
push edx
call fcn.00402d00
add esp, 8
test eax, eax
jne 0x40265a
xor eax, eax
jmp 0x402844
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x45c], eax
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x470], ecx
mov byte [ebp - 0x471], 1
mov esi, esp
push 0x4049e0
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp esi, esp
call fcn.00402e91
mov esi, esp
lea ecx, [ebp - 0x464]
push ecx
push 0x4049e4
mov edx, dword [ebp - 0x470]
push edx
call dword [sym.imp.MSVCR100.dll_wcstok_s]
add esp, 0xc
cmp esi, esp
call fcn.00402e91
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0
je 0x4027e5
mov esi, esp
mov eax, dword [ebp - 0x46c]
push eax
push 0x104
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp esi, esp
call fcn.00402e91
mov esi, esp
push 0x104
lea edx, [ebp - 0x44c]
push edx
call dword [sym.imp.MSVCR100.dll__wcslwr_s]
add esp, 8
cmp esi, esp
call fcn.00402e91
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x402749
or eax, 0xffffffff
jmp 0x402844
mov eax, dword [str.oracle_javaaccessbridge]
push eax
lea ecx, [ebp - 0x44c]
push ecx
call fcn.00402d00
add esp, 8
test eax, eax
jne 0x4027ba
movzx edx, byte [ebp - 0x471]
test edx, edx
jne 0x40278f
mov esi, esp
push 0x4049e8
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x45c]
push ecx
call dword [sym.imp.MSVCR100.dll_wcscat_s]
add esp, 0xc
cmp esi, esp
call fcn.00402e91
mov byte [ebp - 0x471], 0
mov esi, esp
mov edx, dword [ebp - 0x46c]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x45c]
push ecx
call dword [sym.imp.MSVCR100.dll_wcscat_s]
add esp, 0xc
cmp esi, esp
call fcn.00402e91
mov esi, esp
lea edx, [ebp - 0x464]
push edx
push 0x4049ec
push 0
call dword [sym.imp.MSVCR100.dll_wcstok_s]
add esp, 0xc
cmp esi, esp
call fcn.00402e91
mov dword [ebp - 0x46c], eax
jmp 0x4026e8
mov esi, esp
mov eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
add esp, 4
cmp esi, esp
call fcn.00402e91
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x2c], ecx
mov esi, esp
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x45c]
push eax
push 1
push 0
mov ecx, dword [str.Configuration]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.00402e91
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00402e91
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x402874]
call fcn.00402eb4
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402e82
add esp, 0x47c
cmp ebp, esp
call fcn.00402e91
mov esp, ebp
pop ebp
ret