Function at 0x423500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push edi
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edi
push 0x42aa20
mov dword [esp + 0x30], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x14], ebx
jne 0x423547
push 0x8007000e
call fcn.00401a18
push esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x38]
cmp esi, edi
mov byte [esp + 0x30], 3
jne 0x423598
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
push ebx
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
mov dword [esp + 0x30], 0xffffffff
je 0x42357f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop edi
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push ebp
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call ebp
call dword [0x42f17c]
push edi
push edi
push 0xffffffffffffffff
push esi
mov ebx, eax
push edi
push ebx
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [esi - 1]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x4235f4
mov edx, dword [esp + 0x3c]
push esi
push edi
push 0xffffffffffffffff
push edx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x4235f4
push edi
call ebp
lea ecx, [esp + 0x18]
call fcn.00402186
xor edi, edi
jmp 0x4235fd
lea ecx, [esp + 0x18]
call fcn.00402186
test edi, edi
mov dword [esp + 0x20], edi
jne 0x42360f
push 0x8007000e
call fcn.00401a18
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push edi
push esi
mov dword [esp + 0x24], 0
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
jl 0x423692
push esi
call ebp
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0
push 0x10
push esi
push 0x42aa18
push eax
mov dword [esp + 0x34], esi
call dword [ecx + 0x50]
test eax, eax
mov dword [esp + 0x3c], eax
jge 0x423698
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x34], 2
je 0x42366d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call ebp
push esi
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x34], 0xffffffff
je 0x423737
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x423737
push eax
call fcn.00401a18
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x3c], eax
jl 0x423708
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 1
push 0xffffffffffffffff
push eax
call dword [edx + 0x10]
test eax, eax
jne 0x423708
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebx
call fcn.00423170
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4236ec
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 1
push 0xffffffffffffffff
push eax
call dword [edx + 0x10]
test eax, eax
je 0x4236c6
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x34], 2
je 0x42371b
mov edx, dword [eax]
push eax
call dword [edx + 8]
push edi
call ebp
push esi
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x34], 0xffffffff
je 0x423737
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
pop ebp
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4