Function at 0x435c10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438d56
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00435920
call fcn.00437620
mov dword [ebp - 0x230], eax
test eax, eax
jne 0x435c58
xor edi, edi
jmp 0x435c9d
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea ebx, [eax + 1]
cmp ebx, 0x3fffffff
jg 0x435c99
lea eax, [ebx + ebx]
call fcn.00433400
mov edi, esp
test edi, edi
je 0x435c99
mov ecx, dword [ebp - 0x230]
push ebx
push edi
push 0xffffffffffffffff
xor eax, eax
push ecx
push eax
push 3
mov word [edi], ax
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x435c9b
xor eax, eax
mov edi, eax
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp edi, eax
je 0x435cd0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x435cc9
push edi
call ebx
mov dword [esi + 0x10], eax
test eax, eax
jne 0x435cd0
push 0x8007000e
call fcn.00405490
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x435d4b
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.00427020
add esp, 0xc
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [ebp - 0x230], 0x104
call fcn.00435210
test eax, eax
je 0x435d4b
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x218]
cmp ecx, eax
je 0x435d4b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [ebp - 0x218]
push edx
call ebx
mov dword [esi + 0x10], eax
test eax, eax
jne 0x435d4b
push 0x8007000e
call fcn.00405490
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x43e9e8
call ebx
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
jne 0x435d77
push 0x8007000e
call fcn.00405490
mov ebx, dword [esi + 0x14]
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x435db4
lea eax, [ebp - 0x230]
push eax
push ebx
push edi
mov dword [ebp - 0x230], 0
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x435db4
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x234], ecx
push 0x43e9e4
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push 0x43e9e4
lea ecx, [ebp - 0x234]
call fcn.00435410
mov edi, dword [esi + 0x10]
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x435e13
lea edx, [ebp - 0x230]
push edx
push edi
mov edi, dword [ebp - 0x234]
push edi
mov dword [ebp - 0x230], 0
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x435e19
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov edi, dword [ebp - 0x234]
mov ebx, dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push str.newuserid:
call ebx
push edi
call ebx
mov eax, dword [esi + 8]
cmp eax, edi
je 0x435e63
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x435e3f
xor eax, eax
jmp 0x435e4e
push edi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi + 8], eax
test edi, edi
je 0x435e63
test eax, eax
jne 0x435e63
push 0x8007000e
call fcn.00405490
mov ebx, dword [esi + 8]
test ebx, ebx
jne 0x435e6e
xor edi, edi
jmp 0x435eb8
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x435eb4
add eax, eax
mov dword [ebp - 0x230], eax
call fcn.00433400
mov edi, esp
test edi, edi
je 0x435eb4
mov ecx, dword [ebp - 0x230]
push 0
push 0
push ecx
push edi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x435eb6
xor eax, eax
mov edi, eax
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push edi
lea ecx, [ebp - 0x22c]
call fcn.00436a90
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.00436a40
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [edi]
je 0x435f02
push eax
call ebx
mov ecx, dword [edi]
mov dword [esi + 0xc], ecx
mov dword [edi], 0
mov edx, dword [ebp - 0x238]
push edx
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x435f1c
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
push ecx
push edx
call eax
mov eax, dword [ebp - 0x22c]
push eax
call ebx
mov ecx, dword [ebp - 0x234]
push ecx
call ebx
lea esp, [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424761
mov esp, ebp
pop ebp
ret