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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d77e
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
mov esi, ecx
call fcn.0042aeb0
cmp eax, 2
je 0x416e93
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
add esp, 0xa8
ret
mov ecx, dword [0x4b01ac]
mov edx, dword [ecx + 0x414]
push ebx
xor ebx, ebx
cmp edx, ebx
push edi
je 0x416eba
mov eax, dword [ecx + 0x418]
sub eax, edx
sar eax, 2
cmp eax, ebx
jne 0x416f4c
xor edi, edi
mov dword [esp + 0x2c], 0x3e8
mov dword [esp + 0x30], 0x3e9
mov dword [esp + 0x34], 0x3ea
mov dword [esp + 0x38], 0x3eb
mov dword [esp + 0x3c], 0x3ec
mov dword [esp + 0x40], 0x3ed
mov dword [esp + 0x44], 0x3ee
mov dword [esp + 0x48], 0x3ef
mov dword [esp + 0x4c], 0x3f0
mov dword [esp + 0x50], 0x3f1
mov dword [esp + 0x54], 0x44c
add esi, 0x148
lea ebx, [ebx]
mov ecx, dword [esp + edi*4 + 0x2c]
mov eax, dword [esi]
push ebx
push ecx
push esi
call dword [eax + 0xc]
inc edi
cmp edi, 0xa
jle 0x416f20
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
add esp, 0xa8
ret
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00415750
mov ecx, eax
call fcn.0043bb50
cmp eax, 3
jne 0x4171da
mov eax, dword [0x4b01a8]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx]
mov dword [eax + 0x18], ecx
jmp 0x416f80
mov eax, dword [0x4b01a8]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
cmp ecx, edx
je 0x417276
mov edi, dword [ecx + 8]
cmp edi, ebx
mov edx, dword [ecx]
mov dword [eax + 0x18], edx
je 0x417276
mov eax, dword [edi]
push edi
call dword [eax + 0x28]
cmp eax, 0xe
jne 0x416f80
mov ebp, edi
cmp ebp, ebx
je 0x417276
mov eax, dword [0x4b01a8]
cmp dword [eax + 0x1c], ebx
je 0x416fea
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x78]
mov edx, dword [0x4b01a8]
mov eax, dword [edx + 0x1c]
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push ebx
push 0x11
push edx
push eax
call dword [ecx + 0x44]
push ebx
mov ecx, esi
call fcn.00414c70
mov eax, dword [ebp]
push ebp
call dword [eax + 0x2c]
test eax, eax
jl 0x417276
mov eax, dword [0x4b01a8]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x18], ecx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x58]
mov ecx, dword [0x4b01ac]
call fcn.004157f0
push eax
call fcn.0042b9f0
mov ecx, dword [0x4b01ac]
add esp, 4
call fcn.004157a0
push eax
lea ecx, [esp + 0x14]
call fcn.00407f90
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0xb8], ebx
call fcn.004049b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov word [esp + 0x8c], 0x14
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
push 0x403980
push 0x408c70
push 1
push 0x10
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0xc8], 2
call fcn.0048793e
mov eax, dword [0x4b01a8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push eax
mov byte [esp + 0xb8], 3
call dword [ecx + 0x28]
cmp eax, 0xe
jne 0x4170d3
mov ecx, dword [0x4b01ac]
mov word [esp + 0x9c], 0x4000
call fcn.00415750
mov ecx, eax
call fcn.0043bb10
mov dword [esp + 0xa4], eax
mov edx, dword [0x4b01a8]
cmp dword [edx + 0x1c], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x41713d
call fcn.0042adf0
mov word [esp + 0x5c], 0x13
mov dword [esp + 0x64], eax
mov ecx, dword [0x4b01a8]
lea eax, [esp + 0x5c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebx
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
push 0x22
push ecx
push eax
mov byte [esp + 0xc4], 4
call dword [edx + 0x44]
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0xb8], 3
call edi
mov ecx, esi
call fcn.00411e70
mov ecx, dword [0x4b01a8]
lea eax, [esp + 0x7c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 3
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esi + 4]
push 0xf
push ecx
push eax
call dword [edx + 0x44]
mov ebp, eax
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
push eax
mov dword [esp + 0x18], ebp
call dword [edx + 0x98]
test eax, eax
jne 0x4171b3
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x78]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov edx, eax
mov ebp, dword [edx]
push eax
call dword [ecx + 0x80]
mov edx, dword [esi + 0x3c]
push eax
push edx
call dword [ebp + 0x10]
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
push ebx
jge 0x417280
mov eax, dword [esi]
push 0x11
push esi
call dword [eax + 0x28]
push 0x403980
push 3
push 0x10
lea ecx, [esp + 0x88]
push ecx
jmp 0x417387
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [0x4b01ac]
call fcn.004157a0
mov ecx, dword [0x4b01a8]
push eax
call fcn.0040a4a0
mov ebp, eax
cmp ebp, ebx
jne 0x416fb8
mov ecx, dword [0x4b01ac]
call fcn.004157a0
push eax
mov ecx, 0x4b0224
call fcn.0043b4c0
cmp eax, ebx
je 0x41725a
mov edx, dword [eax + 0x200]
mov eax, dword [0x4b01a8]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x14], edx
mov dword [eax + 0x18], ecx
mov eax, dword [0x4b01a8]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
cmp ecx, edx
je 0x41725a
mov edi, dword [ecx + 8]
cmp edi, ebx
mov ecx, dword [ecx]
mov dword [eax + 0x18], ecx
je 0x41725a
mov edx, dword [edi]
push edi
call dword [edx + 0x28]
cmp eax, dword [esp + 0x14]
jne 0x417231
mov ebp, edi
mov ecx, dword [0x4b01ac]
call fcn.004157a0
push eax
call fcn.00401cc0
add esp, 4
test eax, eax
jne 0x416fb0
mov eax, 0x80004005
jmp 0x41739e
call fcn.0042c470
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
add esp, 4
push eax
call dword [edx + 0x88]
test eax, eax
jne 0x4172f4
call fcn.0042b540
test eax, eax
je 0x4172a8
mov eax, 0xffff
jmp 0x4172ad
call fcn.0042adf0
mov word [esp + 0x5c], 0x13
mov dword [esp + 0x64], eax
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push 0x22
lea eax, [esp + 0x64]
push esi
mov byte [esp + 0xc0], 5
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebx
call dword [ecx + 0x28]
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xb8], 3
call edi
xor edi, edi
mov dword [esp + 0x30], 0x3e8
mov dword [esp + 0x34], 0x3e9
mov dword [esp + 0x38], 0x3ea
mov dword [esp + 0x3c], 0x3eb
mov dword [esp + 0x40], 0x3ec
mov dword [esp + 0x44], 0x3ed
mov dword [esp + 0x48], 0x3ee
mov dword [esp + 0x4c], 0x3ef
mov dword [esp + 0x50], 0x3f0
mov dword [esp + 0x54], 0x3f1
mov dword [esp + 0x58], 0x44c
add esi, 0x148
mov edx, dword [esp + edi*4 + 0x30]
mov ecx, dword [esi]
push 1
push edx
push esi
call dword [ecx + 0xc]
inc edi
cmp edi, 0xa
jle 0x417354
push 1
push 0x4e30
call fcn.00402d90
add esp, 8
push 0x403980
push 3
push 0x10
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xc4], bl
call fcn.00487894
lea ecx, [esp + 0x10]
call fcn.00405c30
mov eax, ebp
mov ecx, dword [esp + 0xac]
pop ebp
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret