Function at 0x4074c3
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x83c
push ebx
push ebp
push esi
push edi
push 1
lea ecx, [esp + 0x18]
pop eax
xor ebx, ebx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
push dword [esp + 0x85c]
mov dword [esp + 0x20], eax
call fcn.0040656e
add esp, 0x10
test eax, eax
je 0x40780e
mov ebp, 0x41c06c
mov esi, 0x4239c0
mov edi, 0x424240
lea eax, [esp + 0x228]
push eax
call fcn.00412070
cmp byte [eax], 0x40
pop ecx
jne 0x40751b
inc eax
push eax
lea eax, [esp + 0x22c]
push eax
call fcn.00412c20
cmp byte [esp + 0x438], 0
pop ecx
pop ecx
je 0x4077e5
cmp byte [esp + 0x638], 0
je 0x4077e5
test ebx, ebx
jne 0x407589
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push str.VB6STKIT.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x407589
push str.DLLSelfRegister
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SyncShell
push ebx
mov dword [0x4211a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4211ac], eax
push str.About_to_check_for_ProcAddress_Call
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test ebx, ebx
je 0x4075aa
cmp dword [0x4211a8], 0
je 0x4075aa
cmp dword [0x4211ac], 0
jne 0x4075ce
push str.VB6STKIT.DLL
push ebp
push dword [0x4246ac]
call fcn.00403adc
add esp, 0xc
push eax
call fcn.00404d80
cmp eax, 0xfffffffe
pop ecx
je 0x407815
lea eax, [esp + 0x430]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.0040a097
pop ecx
lea eax, [esp + 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x638]
push str.__DLLSELFREGISTER_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x407684
cmp dword [0x4211a8], eax
je 0x4077e5
push esi
call fcn.00403ab0
pop ecx
push eax
push str.DllSelfRegister
call fcn.00404dd2
pop ecx
cmp eax, 0xfffffffe
pop ecx
je 0x407815
push esi
call dword [0x4211a8]
test eax, eax
jne 0x407651
call fcn.00404d4b
cmp eax, 0xfffffffe
je 0x407815
jmp 0x4077e5
push esi
push ebp
push dword [0x424b00]
call fcn.00403adc
add esp, 0xc
push eax
call fcn.00404d80
cmp eax, 0xfffffffe
pop ecx
je 0x407815
call fcn.00404d26
cmp eax, 0xfffffffe
je 0x407815
jmp 0x4077e5
lea eax, [esp + 0x638]
push str.__EXESELFREGISTER_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x407731
push str.__REGSERVER
push esi
push 0x41c268
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [0x4211ac], 0
je 0x4077e5
push esi
call fcn.00403ab0
pop ecx
push eax
push str.ExeSelfRegister
call fcn.00404dd2
pop ecx
cmp eax, 0xfffffffe
pop ecx
je 0x407815
push 2
push edi
call dword [0x4211ac]
test eax, eax
je 0x4076fe
call fcn.00404d4b
cmp eax, 0xfffffffe
je 0x407815
jmp 0x4077e5
push esi
push ebp
push dword [0x424b00]
call fcn.00403adc
add esp, 0xc
push eax
call fcn.00404d80
cmp eax, 0xfffffffe
pop ecx
je 0x407815
call fcn.00404d26
cmp eax, 0xfffffffe
je 0x407815
jmp 0x4077e5
lea eax, [esp + 0x638]
push str.__TLBREGISTER_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4077a9
push esi
call fcn.00403ab0
pop ecx
push eax
push str.TLBRegister
call fcn.00404dd2
pop ecx
cmp eax, 0xfffffffe
pop ecx
je 0x407815
push esi
call fcn.0040396b
cmp eax, 1
pop ecx
jne 0x407781
call fcn.00404d4b
cmp eax, 0xfffffffe
je 0x407815
jmp 0x4077e5
push esi
push ebp
push dword [0x424b00]
call fcn.00403adc
add esp, 0xc
push eax
call fcn.00404d80
cmp eax, 0xfffffffe
pop ecx
je 0x407815
call fcn.00404d26
cmp eax, 0xfffffffe
je 0x407815
jmp 0x4077e5
lea eax, [esp + 0x638]
push eax
call fcn.00406412
test eax, eax
pop ecx
je 0x4077e5
lea eax, [esp + 0x638]
push eax
push str.REGEDIT__S
push 0x41c268
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x4211ac]
add esp, 0x10
test eax, eax
je 0x4077e5
push 2
push edi
call eax
inc dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
push dword [esp + 0x85c]
call fcn.0040656e
add esp, 0x10
test eax, eax
jne 0x407507
cmp dword [esp + 0x14], 1
jne 0x407819
push 0xfffffffffffffffe
jmp 0x407826
test ebx, ebx
je 0x407824
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x83c
ret