Function at 0x402a90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f77bd
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5370e4]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push edi
mov eax, dword [0x5370e4]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x1c], ebx
push 0x19
mov edi, ecx
push str.SoftwareiniLINECrossEX_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00402130
mov ebp, 1
mov dword [esp + 0x150], ebp
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x5255b3
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00402130
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x549f10], eax
cmp eax, ebx
je 0x402b5d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x549f10]
cmp dword [esp + 0x10], ebx
je 0x402b73
push 0x25
push str.SoftwareWow6432NodeiniLINECrossEX_
lea ecx, [esp + 0x2c]
call fcn.00402130
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402b78
sub eax, edx
push eax
push edi
lea eax, [esp + 0x2c]
call fcn.00401d60
mov eax, dword [esp + 0x28]
mov ebp, 0x10
cmp dword [esp + 0x3c], ebp
jae 0x402b9f
lea eax, [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_accept
call edi
test eax, eax
jne 0x402c1c
push 0x103
lea edx, [esp + 0x45]
push ebx
push edx
mov byte [esp + 0x4c], bl
call fcn.0042fdd0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.CrossEX
push eax
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402ca6
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402c10
jmp 0x402c97
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebp
jae 0x402c2a
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x402cb1
push 0x103
lea edx, [esp + 0x45]
push ebx
push edx
mov byte [esp + 0x4c], bl
call fcn.0042fdd0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push str.CrossEX
push eax
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402ca6
lea eax, [esp + 0x40]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402c90
sub eax, edx
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00402130
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x3c], ebp
jb 0x402cc4
mov eax, dword [esp + 0x28]
push eax
call fcn.0041ef45
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00428ddf
add esp, 0x144
ret