Function at 0x411430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x420b00
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 str.Select__from
mov dword [esp + 0x30], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x14], ebx
jne 0x411477
push 0x8007000e
call fcn.00405860
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 0x4114c8
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 0x4114af
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 [0x427090]
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 0x411524
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 0x411524
push edi
call ebp
lea ecx, [esp + 0x18]
call fcn.0040ea80
xor edi, edi
jmp 0x41152d
lea ecx, [esp + 0x18]
call fcn.0040ea80
test edi, edi
mov dword [esp + 0x20], edi
jne 0x41153f
push 0x8007000e
call fcn.00405860
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 0x4115c2
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 0x4220b8
push eax
mov dword [esp + 0x34], esi
call dword [ecx + 0x50]
test eax, eax
mov dword [esp + 0x3c], eax
jge 0x4115c8
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x34], 2
je 0x41159d
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 0x411667
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x411667
push eax
call fcn.00405860
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x3c], eax
jl 0x411638
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 0x411638
mov edx, dword [esp + 0x10]
push edx
mov ecx, ebx
call fcn.004110a0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41161c
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 0x4115f6
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x34], 2
je 0x41164b
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 0x411667
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