Function at 0x428410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42d720
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 0x431ba4
mov dword [esp + 0x30], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x14], ebx
jne 0x428457
push 0x8007000e
call fcn.00401a31
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 0x4284a8
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 0x42848f
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 [0x43618c]
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 0x428504
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 0x428504
push edi
call ebp
lea ecx, [esp + 0x18]
call fcn.004022ce
xor edi, edi
jmp 0x42850d
lea ecx, [esp + 0x18]
call fcn.004022ce
test edi, edi
mov dword [esp + 0x20], edi
jne 0x42851f
push 0x8007000e
call fcn.00401a31
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 0x4285a2
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 0x431b9c
push eax
mov dword [esp + 0x34], esi
call dword [ecx + 0x50]
test eax, eax
mov dword [esp + 0x3c], eax
jge 0x4285a8
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x34], 2
je 0x42857d
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 0x428647
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x428647
push eax
call fcn.00401a31
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x3c], eax
jl 0x428618
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 0x428618
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebx
call fcn.00428080
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4285fc
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 0x4285d6
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x34], 2
je 0x42862b
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 0x428647
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