Function at 0x42b7d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x6347d0]
sub esp, 0x15c
push ebx
push esi
push edi
mov edi, dword [esp + 0x16c]
xor ebx, ebx
mov esi, edi
cmp al, bl
jne 0x42b800
pop edi
pop esi
mov byte [0x6347d0], 1
xor al, al
pop ebx
add esp, 0x15c
ret
mov eax, dword [0x6347d4]
push ebp
inc eax
cmp eax, 0x13
mov dword [0x6347d4], eax
jbe 0x42b87b
mov eax, 0xaab48c
mov dword [0x6347d4], ebx
sub eax, 0x9a4
mov dword [0xab55a8], eax
mov eax, dword [0x59ead4]
mov ebp, dword [eax]
add ebp, 0x2239
mov dword [eax], ebp
mov ecx, dword [0x59ead4]
mov dword [0xab55b8], 0x9a4
mov eax, dword [ecx]
cmp eax, 0x12fcd282
jb 0x42b855
cmp eax, 0x142dff82
jbe 0x42b875
mov ecx, dword [0xab55a8]
push str.fail_5_n
mov byte [ecx + 0x9a4], 1
call fcn.00535ef0
mov ecx, dword [0x59ead4]
add esp, 4
add dword [ecx], 0xffffddc7
push 0x5c
push edi
call fcn.005756e0
add esp, 8
cmp eax, ebx
je 0x42b88d
lea esi, [eax + 1]
push 0x2f
push esi
call fcn.005756e0
add esp, 8
cmp eax, ebx
je 0x42b89f
lea esi, [eax + 1]
push esi
call fcn.004069e0
mov esi, dword [0x6347c0]
add esp, 4
xor ecx, ecx
cmp esi, ebx
jbe 0x42b8c6
mov edx, dword [0x6347bc]
cmp dword [edx], eax
je 0x42b8c6
inc ecx
add edx, 0xc
cmp ecx, esi
jb 0x42b8ba
mov eax, dword [0x6347d8]
inc eax
cmp eax, 0x3d
mov dword [0x6347d8], eax
jbe 0x42b969
mov eax, dword [0x5a1d20]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0xff
je 0x42b8fd
lea edx, [esp + 0x18]
sub edx, eax
not cl
mov byte [edx + eax], cl
mov cl, byte [eax + 1]
inc esi
inc eax
cmp cl, 0xff
jne 0x42b8ee
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 1
push ebx
push eax
push reloc.WS2_32.dll_bind
mov byte [esp + esi + 0x2c], bl
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42b963
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push str.SmoTheOneWasHere
push ebx
lea edx, [esp + 0x24]
push ebx
push edx
push eax
mov byte [esp + 0x32], 0x79
mov dword [esp + 0x2c], 0x11
mov byte [esp + 0x31], 0x65
mov byte [esp + 0x30], 0x4b
mov byte [esp + 0x33], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x6347d8], ebx
push 0xa8
call fcn.00401290
add esp, 4
cmp eax, ebx
je 0x42b99e
mov dword [eax + 0x20], ebx
mov byte [eax + 0x24], bl
mov byte [eax + 0x25], bl
mov byte [eax + 0x26], bl
mov byte [eax + 0x58], bl
mov byte [eax + 0x59], bl
mov byte [eax + 0xa4], bl
mov dword [eax + 0xa0], 0xffffffff
jmp 0x42b9a0
xor eax, eax
push edi
lea edx, [esp + 0xa8]
push str._s.smo
push edx
mov dword [0x634780], eax
call fcn.0057492c
mov ecx, dword [0x634780]
add esp, 0xc
lea eax, [esp + 0xa4]
push 1
push eax
call fcn.0042ad00
fld dword [0x634788]
fcom dword [0x589284]
mov edi, dword [0x634780]
mov ebp, eax
xor esi, esi
fnstsw ax
and eax, 0x4100
jne 0x42b9fe
fmul dword [0x589710]
call fcn.005749d0
mov esi, eax
jmp 0x42ba00
fstp st(0)
mov ecx, dword [edi + 0x20]
push esi
push ebx
push ecx
call dword [sym.imp.binkw32.dll__BinkSetVolume_12]
cmp esi, ebx
jne 0x42ba19
mov byte [edi + 0xa4], 1
jmp 0x42ba1f
mov byte [edi + 0xa4], bl
cmp ebp, ebx
pop ebp
jne 0x42ba44
cmp byte [0x63478c], bl
je 0x42ba38
push 1
push 1
call fcn.0042b5c0
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x15c
ret
mov esi, dword [0x634780]
cmp esi, ebx
je 0x42babd
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.binkw32.dll__BinkClose_4]
mov eax, dword [esi + 0xa0]
cmp eax, ebx
jl 0x42ba82
mov ecx, dword [0x634778]
shl eax, 4
mov dword [eax + 0x6346c0], ecx
mov ecx, dword [eax + 0x6346c4]
cmp ecx, ebx
jbe 0x42ba82
dec ecx
mov dword [eax + 0x6346c4], ecx
cmp dword [0xb084b8], ebx
jne 0x42bab1
mov edx, dword [str.Null_Pointer]
push edx
push 0x158
push str.._sys_mem_memman.h
call fcn.00401090
mov eax, dword [0xb084b8]
add esp, 0xc
cmp eax, ebx
jne 0x42bab1
call fcn.0052ff20
mov ecx, dword [0xb084b8]
push esi
call fcn.00533cb0
pop edi
mov dword [0x634780], ebx
pop esi
xor al, al
pop ebx
add esp, 0x15c
ret