Function at 0x414a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x459770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
xor esi, esi
xor edx, edx
mov dword [esp + 0x74], esi
mov dword [esp + 4], edx
mov eax, dword [ecx + 0xf8]
cmp eax, esi
mov byte [esp + 0x74], 1
je 0x414ae0
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x1c]
xor ecx, ecx
cmp eax, esi
setge cl
mov eax, ecx
cmp eax, esi
jne 0x414b29
mov edx, dword [esp + 4]
cmp edx, esi
mov byte [esp + 0x74], 0
je 0x414aef
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
push ebx
mov ebx, dword [esp + 0x80]
cmp ebx, esi
je 0x414b52
push 0xffffffffffffffff
push ebx
call fcn.00414750
add esp, 8
cmp eax, esi
mov dword [esp + 0xc], eax
jne 0x414b56
push 0x8007000e
call fcn.00401140
mov dword [esp + 0xc], esi
mov eax, dword [esp + 8]
lea edx, [esp + 0x24]
push edx
push 0x800
push 1
lea edx, [esp + 0x18]
push edx
push 0x4669e0
mov dword [esp + 0x38], esi
mov ecx, dword [eax]
push eax
mov byte [esp + 0x90], 2
call dword [ecx + 0x14]
cmp eax, esi
jge 0x414bdb
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 8]
cmp eax, esi
mov byte [esp + 0x78], 0
je 0x414ba4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebx - 0x10]
mov dword [esp + 0x78], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414bc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
push ebp
mov ebp, dword [esp + 0x88]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov ecx, edi
mov dword [esp + 0x40], eax
shl ecx, 4
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edi
call fcn.0043d3c0
add esp, 4
cmp edi, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], esi
jle 0x414d3f
xor ebx, ebx
lea eax, [edi - 1]
lea edx, [edi*4 - 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jmp 0x414c44
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x8c]
cmp eax, esi
jl 0x414e3e
cmp eax, dword [ebp + 8]
jge 0x414e3e
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov ebp, dword [eax + ecx]
add eax, ecx
cmp ebp, esi
je 0x414cd3
call dword [0x4720e0]
push esi
push esi
push 0xffffffffffffffff
push ebp
mov ebx, eax
push esi
push ebx
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [esi - 1]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x414cb8
push esi
push edi
push 0xffffffffffffffff
push ebp
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x414cb8
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x20]
call fcn.004146a0
xor edi, edi
jmp 0x414cc1
lea ecx, [esp + 0x20]
call fcn.004146a0
test edi, edi
mov esi, edi
je 0x414e34
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
lea ebp, [ebx + eax + 8]
test ebp, ebp
je 0x414cf9
test esi, esi
jne 0x414ce7
xor eax, eax
jmp 0x414cf6
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [ebp], eax
mov ecx, dword [esp + 0x38]
push esi
mov word [ebx + ecx], 8
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc eax
sub ebp, 4
dec esi
mov dword [esp + 0x1c], esi
add ebx, 0x10
xor esi, esi
cmp eax, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
jl 0x414c39
mov ebx, dword [esp + 0x88]
xor edx, edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
lea eax, [esp + 0x48]
mov dword [esp + 0x70], edx
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x78], edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x3c]
push 1
push esi
push 0x4669e0
or ebp, 0xffffffff
push edx
mov dword [esp + 0x54], ebp
mov ecx, dword [eax]
push eax
mov byte [esp + 0xa4], 3
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [esp + 0x38]
push eax
call fcn.0043d3bb
add esp, 4
cmp edi, esi
jge 0x414e43
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x84], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, esi
jge 0x414dde
push eax
call fcn.00436040
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
cmp eax, esi
mov byte [esp + 0x80], 0
je 0x414dff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebx - 0x10]
mov dword [esp + 0x80], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x414e1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
push 0x8007000e
call fcn.00401140
call fcn.004368c9
mov eax, dword [esp + 0x90]
cmp eax, esi
je 0x414e64
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, esi
jge 0x414e64
push eax
call fcn.00436040
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x84], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, esi
jge 0x414e81
push eax
call fcn.00436040
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
cmp eax, esi
mov byte [esp + 0x80], 0
je 0x414ea2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebx - 0x10]
mov dword [esp + 0x80], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x414ec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x78]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc