Function at 0x673e9a52
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
push ebx
push esi
push edi
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 0x64], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x673e9a7d
mov eax, 0x12
jmp 0x673ea83d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1a2]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x673e9acb
push 0xc30
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x673e9ab5
mov eax, 0x12
jmp 0x673ea83d
push 0xc30
mov esi, dword [ebp + 0xc]
push esi
push dword [ebp - 0x10]
call fcn.673ebabe
add esp, 0xc
jmp 0x673e9ace
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
add eax, 0x100
mov dword [ebp - 8], eax
mov eax, dword [eax]
cmp eax, 3
jne 0x673e9b79
mov al, byte [esi + 0x3a5]
mov cl, byte [esi + 0x3a6]
mov edx, dword [esi + 0x3ee]
mov byte [ebp - 0x110], al
mov eax, dword [esi + 0x3f2]
mov byte [ebp - 0x10f], cl
mov ecx, dword [esi + 0x3f6]
mov dword [ebp - 0x10e], edx
mov edx, dword [esi + 0x3ac]
mov dword [ebp - 0x10a], eax
mov eax, dword [esi + 0x3b0]
mov dword [ebp - 0x106], ecx
mov ecx, dword [esi + 0x3c6]
mov dword [ebp - 0x102], edx
mov edx, dword [esi + 0x3ca]
mov dword [ebp - 0xfe], eax
mov eax, dword [esi + 0x3ce]
mov dword [ebp - 0xfa], ecx
mov ecx, dword [esi + 0x3d2]
mov dword [ebp - 0xf6], edx
mov edx, dword [esi + 0x3d6]
mov dword [ebp - 0xf2], eax
mov dword [ebp - 0xee], ecx
mov dword [ebp - 0xea], edx
jmp 0x673ea475
cmp eax, 4
jne 0x673e9cef
mov al, byte [esi + 0x3a5]
mov cl, byte [esi + 0x3a6]
mov edx, dword [esi + 0x3e2]
mov byte [ebp - 0x110], al
mov eax, dword [esi + 0x3e6]
mov byte [ebp - 0x10f], cl
mov ecx, dword [esi + 0x3ea]
mov dword [ebp - 0xb3], edx
mov edx, dword [esi + 0x3ee]
mov dword [ebp - 0xaf], eax
mov eax, dword [esi + 0x3f2]
push 0x33
mov dword [ebp - 0xab], ecx
mov dword [ebp - 0x10e], edx
mov ecx, dword [esi + 0x3f6]
lea edx, [esi + 0x174]
push edx
mov dword [ebp - 0x10a], eax
lea eax, [ebp - 0xe6]
mov dword [ebp - 0x106], ecx
push eax
call fcn.673ebabe
add esp, 0xc
mov ecx, dword [esi + 0x3a8]
mov edx, dword [esi + 0x3fa]
mov eax, dword [esi + 0x3fe]
mov dword [ebp - 0x83], ecx
mov dword [ebp - 0xa7], edx
mov ecx, dword [esi + 0x402]
mov edx, dword [esi + 0x412]
mov dword [ebp - 0xa3], eax
mov dword [ebp - 0x9f], ecx
mov eax, dword [esi + 0x416]
mov ecx, dword [esi + 0x41a]
mov dword [ebp - 0x8f], edx
mov dword [ebp - 0x8b], eax
mov edx, dword [esi + 0x406]
mov eax, dword [esi + 0x40a]
mov dword [ebp - 0x87], ecx
mov dword [ebp - 0x9b], edx
mov ecx, dword [esi + 0x40e]
mov edx, dword [esi + 0x3ac]
mov dword [ebp - 0x97], eax
mov dword [ebp - 0x93], ecx
mov eax, dword [esi + 0x3b0]
mov ecx, dword [esi + 0x3b4]
mov dword [ebp - 0x102], edx
mov dword [ebp - 0xfe], eax
mov edx, dword [esi + 0x3b8]
mov eax, dword [esi + 0x3c6]
mov dword [ebp - 0x7f], ecx
mov dword [ebp - 0x7b], edx
mov ecx, dword [esi + 0x3ca]
mov edx, dword [esi + 0x3ce]
mov dword [ebp - 0xfa], eax
mov dword [ebp - 0xf6], ecx
mov eax, dword [esi + 0x3d2]
mov ecx, dword [esi + 0x3d6]
mov dword [ebp - 0xf2], edx
mov dword [ebp - 0xee], eax
mov dword [ebp - 0xea], ecx
mov edx, dword [esi + 0x3da]
mov eax, dword [esi + 0x3de]
mov dword [ebp - 0x77], edx
mov dword [ebp - 0x73], eax
jmp 0x673ea475
lea ebx, [esi + 0x137]
mov edi, dword [ebp - 4]
add edi, 0x104
push ebx
push edi
push str.38810806
call fcn.673ed8f6
cmp byte [ebx], 0
jne 0x673e9d19
mov eax, 0xc
jmp 0x673ea83d
lea ebx, [esi + 0x3bc]
push ebx
push edi
push str.SAA_482
call fcn.673ed8f6
cmp byte [ebx], 0
jne 0x673e9d3a
mov eax, 0xc
jmp 0x673ea83d
lea ebx, [esi + 0x41e]
push ebx
push edi
push str.YAP00667
call fcn.673ed8f6
cmp byte [ebx], 0
jne 0x673e9d5b
mov eax, 0xc
jmp 0x673ea83d
lea ebx, [esi + 5]
lea eax, [ebp - 0x58]
mov byte [esi + 4], 1
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x38]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x6b]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x9e]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0xd1]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.673ebabe
add esp, 0xc
lea ebx, [esi + 0x104]
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x141]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x174]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x1a7]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x1da]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.673ebabe
add esp, 0xc
lea ebx, [esi + 0x20d]
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x240]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x273]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x2a6]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x2d9]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x30c]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x33f]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x372]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x3a5]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.673ebabe
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 0x106
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3a8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3ac], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3b0], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3b4], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3b8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3c6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3ca], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3ce], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3d2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3d6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3da], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3de], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3e2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3e6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3ea], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3ee], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3f2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3f6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3fa], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
sub dword [esi + 0x3fe], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
sub dword [esi + 0x402], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x406], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x40a], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x40e], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x412], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
sub dword [esi + 0x416], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
sub dword [esi + 0x41a], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x428], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
sub dword [esi + 0x42c], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
sub dword [esi + 0x430], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x434], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x438], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x43c], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x440], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x444], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x448], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x44c], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x450], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
mov ecx, dword [esi + 0x5f8]
sub dword [esi + 0x454], eax
cmp ecx, 1
jne 0x673ea43c
mov al, byte [edi]
imul byte [ebx]
add byte [esi + 0x5f0], al
mov al, byte [edi]
imul byte [ebx]
add byte [esi + 0x5f1], al
mov al, byte [edi]
imul byte [ebx]
add byte [esi + 0x5f2], al
mov al, byte [edi]
imul byte [ebx]
add byte [esi + 0x5f3], al
movsx edx, byte [edi]
movsx eax, byte [ebx]
imul edx, eax
add dword [esi + 0x5f4], edx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add eax, ecx
lea edx, [ebp - 0x58]
push edx
mov dword [esi + 0x5f8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
push edi
add dword [esi + 0x5fc], eax
lea eax, [esi + 0x608]
push eax
call fcn.673ed8f6
push 0
lea ecx, [ebp - 0x58]
push ecx
lea eax, [esi + 0x608]
push eax
call fcn.673ebabe
add esp, 0xc
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x60e]
push ecx
push edi
push eax
call fcn.673ed8f6
push 0
lea ecx, [ebp - 0x58]
push ecx
lea eax, [esi + 0x60e]
push eax
call fcn.673ebabe
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add esp, 0xc
add dword [esi + 0x697], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
lea eax, [ebp - 0x58]
add dword [esi + 0x69b], ecx
push eax
push edi
lea eax, [esi + 0x69f]
push eax
call fcn.673ed8f6
push 0
lea ecx, [ebp - 0x58]
push ecx
lea eax, [esi + 0x69f]
push eax
call fcn.673ebabe
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add esp, 0xc
add dword [esi + 0x6a5], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
lea ebx, [esi + 0x61d]
lea eax, [ebp - 0x58]
push eax
add dword [esi + 0x6a9], ecx
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x65a]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x6ad]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x6f4]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x726]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x776]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x7da]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x82a]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
lea ebx, [esi + 0x87a]
call fcn.673ebabe
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
call fcn.673ed8f6
push 0
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.673ebabe
add esp, 0xc
mov eax, 4
movsx ecx, byte [eax + esi]
inc eax
add dword [ebp - 0x64], ecx
cmp eax, 0xc30
jb 0x673ea441
mov eax, dword [ebp - 0x64]
xor edi, edi
mov dword [esi], eax
mov cl, byte [edi + esi]
mov eax, esi
sub eax, edi
add eax, 0xc2f
mov dl, byte [eax]
mov byte [edi + esi], dl
add edi, 2
mov byte [eax], cl
cmp edi, 0x616
jb 0x673ea457
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 1
je 0x673ea4a4
cmp eax, 2
je 0x673ea680
cmp eax, 3
je 0x673ea773
cmp eax, 4
je 0x673ea7cf
mov eax, 0xe
jmp 0x673ea83d
mov eax, dword [ebp - 4]
xor ecx, ecx
add eax, 0x181
mov dword [ebp - 8], eax
cmp byte [eax], cl
je 0x673ea4e7
mov eax, dword [ebp - 4]
push ecx
push ecx
mov ebx, dword [eax + 0x182]
push ebx
call dword [sym.imp.KERNEL32.dll__llseek]
mov edi, 0xc30
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, edi
je 0x673ea5e3
mov eax, 5
jmp 0x673ea83d
push 0
push dword [ebp - 4]
call sub.MSVCR80.dll__access
add esp, 8
cmp eax, 0xffffffff
jne 0x673ea503
mov eax, 0xf
jmp 0x673ea83d
mov eax, dword [ebp - 4]
add eax, 0x196
push eax
mov eax, dword [ebp - 4]
add eax, 0x18a
push eax
push dword [ebp - 4]
call fcn.673ed7e0
add esp, 0xc
mov edi, dword [ebp - 4]
add edi, 0x186
push dword [ebp - 4]
call fcn.673ed7d5
add esp, 4
mov dword [edi], eax
test al, 0xf
je 0x673ea555
push 0
push dword [ebp - 4]
call fcn.673ed7c6
add esp, 8
test eax, eax
jne 0x673ea555
mov eax, 3
jmp 0x673ea83d
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll__lcreat]
cmp eax, 0xffffffff
mov ebx, eax
jne 0x673ea4c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x673ea5d9
mov eax, dword [ebp - 4]
test byte [eax + 0x1a6], 0x10
jne 0x673ea5cf
push 1
lea eax, [ebp - 0x12c]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x673ea555
xor ebx, ebx
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
lea eax, [ebp - 0x12c]
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x673ea59d
jmp 0x673ea555
mov eax, 0x25
jmp 0x673ea83d
mov eax, 9
jmp 0x673ea83d
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x673ea644
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
test eax, eax
je 0x673ea600
mov eax, 6
jmp 0x673ea83d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x186]
test al, 0xf
je 0x673ea627
push eax
push dword [ebp - 4]
call fcn.673ed7c6
add esp, 8
test eax, eax
jne 0x673ea627
mov eax, 3
jmp 0x673ea83d
mov eax, dword [ebp - 4]
add eax, 0x196
push eax
mov eax, dword [ebp - 4]
add eax, 0x18a
push eax
push dword [ebp - 4]
call fcn.673ed871
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0xc], 0
je 0x673ea838
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.673e9a52
add esp, 8
mov esi, eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, 1
je 0x673ea838
mov eax, esi
jmp 0x673ea83d
xor edi, edi
mov eax, dword [ebp - 4]
mov al, byte [eax + edi]
test al, al
je 0x673ea6a7
movsx eax, al
push eax
inc edi
call sub.MSVCR80.dll_toupper
add esp, 4
add al, 7
mov byte [ebp + edi - 0x161], al
cmp edi, 0x32
jl 0x673ea682
push str.softwareclasses_vdsp
lea eax, [ebp - 0x1c4]
mov byte [ebp + edi - 0x160], 0
push eax
call sub.MSVCR80.dll_strcpy
add esp, 8
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3a
jne 0x673ea70c
xor ecx, ecx
cmp byte [eax + 4], 0x3a
je 0x673ea6ec
mov eax, dword [ebp - 4]
inc ecx
mov edx, dword [ebp - 4]
mov al, byte [eax + ecx + 3]
mov byte [ebp + ecx - 0x1c5], al
cmp byte [edx + ecx + 4], 0x3a
jne 0x673ea6d3
mov byte [ebp + ecx - 0x1c4], 0
mov eax, dword [ebp - 4]
add eax, ecx
lea ecx, [ebp - 0x160]
add eax, 5
push eax
push ecx
call sub.MSVCR80.dll_strcpy
add esp, 8
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1c4]
push eax
push ecx
push reloc.ImNtUtilU.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x673ea730
mov eax, 0x2a
jmp 0x673ea83d
push 0xc30
lea eax, [ebp - 0x160]
push esi
push 3
push 0
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x673ea758
mov eax, 0x2e
jmp 0x673ea83d
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x673ea644
mov eax, 0x2c
jmp 0x673ea83d
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 4]
movsx dx, byte [ecx]
push eax
push edx
call fcn.673ebb50
test ax, ax
je 0x673ea793
mov eax, 0x2f
jmp 0x673ea83d
lea eax, [ebp - 0x110]
push eax
push 0x2a
push 0
mov eax, dword [ebp - 4]
add eax, 0x111
push eax
mov eax, dword [ebp - 4]
add eax, 0x104
push eax
push 1
mov eax, dword [ebp - 4]
movsx ax, byte [eax]
push eax
call fcn.673ec240
test ax, ax
je 0x673ea644
mov eax, 0x33
jmp 0x673ea83d
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 4]
movsx dx, byte [ecx]
push eax
push edx
call fcn.673ebb50
test ax, ax
je 0x673ea7ec
mov eax, 0x2f
jmp 0x673ea83d
cmp byte [ebp - 0x6c], 0xc9
je 0x673ea7f9
mov eax, 0x30
jmp 0x673ea83d
lea eax, [ebp - 0x110]
push eax
push 0xa1
push 0
mov eax, dword [ebp - 4]
add eax, 0x11a
push eax
mov eax, dword [ebp - 4]
add eax, 0x104
push eax
push 1
mov eax, dword [ebp - 4]
movsx ax, byte [eax]
push eax
call fcn.673ec2d0
test ax, ax
je 0x673ea644
mov eax, 0x34
jmp 0x673ea83d
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret