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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
xor ecx, ecx
push 2
add eax, 6
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0081fe0b
pop ecx
xor ecx, ecx
mov dword [esi + 4], eax
mov eax, ebx
mov ebx, ecx
mov dword [ebp - 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp - 0x30], 0x7c
cmp dword [ebp - 0x14], ecx
jle 0x86841d
push 0x20
pop edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], 0x28
jmp 0x8682fa
inc ecx
cmp word [edi + ecx*2], dx
je 0x8682f9
movzx edx, word [edi + ecx*2]
cmp dx, word [ebp - 0x18]
je 0x868322
mov eax, dword [esi + 4]
inc ecx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
movzx edx, word [edi + ecx*2]
pop eax
cmp dx, ax
jne 0x86830a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 0x7c
pop edx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
pop eax
jmp 0x868337
inc ecx
cmp word [edi + ecx*2], ax
je 0x868336
jmp 0x868351
cmp dx, word [ebp - 0x1c]
je 0x86835a
mov eax, dword [esi + 4]
inc ecx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
pop eax
movzx edx, word [edi + ecx*2]
cmp dx, ax
jne 0x86833f
mov eax, dword [esi + 4]
push 0x3b
pop edx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
pop eax
jmp 0x86836b
inc ecx
cmp word [edi + ecx*2], ax
je 0x86836a
mov edx, dword [ebp - 0x1c]
cmp word [edi + ecx*2], dx
jne 0x86837b
inc ecx
cmp word [edi + ecx*2], ax
je 0x86837a
xor edx, edx
inc edx
jmp 0x86838a
pop eax
jmp 0x86838a
inc ecx
cmp word [edi + ecx*2], ax
je 0x868389
jmp 0x8683ba
cmp ax, word [ebp - 0x18]
jne 0x8683a2
push 0x20
pop eax
inc ecx
cmp word [edi + ecx*2], ax
je 0x86839b
movzx eax, word [edi + ecx*2]
inc ecx
mov dword [ebp + 8], eax
cmp eax, 0x29
je 0x8683cb
mov eax, dword [esi + 4]
mov esi, dword [ebp + 8]
mov word [eax + ebx*2], si
inc ebx
movzx eax, word [edi + ecx*2]
push 0x3b
pop esi
cmp ax, si
mov esi, dword [ebp - 8]
jne 0x868392
jmp 0x8683cf
xor eax, eax
mov edx, eax
push 0x20
pop eax
jmp 0x8683d5
inc ecx
cmp word [edi + ecx*2], ax
je 0x8683d4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*2]
test edx, edx
jne 0x8683e9
push 0xa
jmp 0x8683eb
push 0x3b
pop esi
mov word [eax], si
inc ebx
push 0x3b
pop eax
mov dword [ebp + 8], esi
mov esi, dword [ebp - 8]
cmp word [edi + ecx*2], ax
jne 0x868400
inc ecx
xor eax, eax
inc eax
push 0x20
cmp edx, eax
je 0x868386
mov eax, dword [ebp - 4]
mov dword [ebp + 8], ebx
pop edx
cmp ecx, dword [ebp - 0x14]
jl 0x8682fa
xor edi, edi
push 3
pop ecx
cmp dword [esi + 0x24], edi
je 0x86842c
add eax, ecx
mov dword [ebp - 4], eax
xor ecx, ecx
push 4
pop edi
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0081fe0b
mov dword [esi + 8], eax
xor ecx, ecx
mov eax, dword [ebp - 4]
push 0x1c
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0081fe0b
mov dword [esi + 0xc], eax
xor edx, edx
pop ecx
pop ecx
mov dword [eax], str.InterfaceDispatch
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
push 2
mov dword [eax + 4], edx
mov eax, dword [esi + 0xc]
or dword [eax + 8], 0xffffffff
mov eax, dword [esi + 0xc]
or dword [eax + 0xc], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [eax + 0x10], edi
mov eax, dword [esi + 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x18], cx
xor ecx, ecx
mov eax, dword [esi + 0xc]
mov word [eax + 0x1a], cx
mov eax, dword [esi + 0xc]
pop ecx
push 0x13
mov dword [ebp - 0xc], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x20], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x24], edx
mov eax, dword [esi + 0xc]
or dword [eax + 0x28], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [eax + 0x2c], edi
mov eax, dword [esi + 0xc]
pop edi
mov dword [eax + 0x30], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x34], cx
mov eax, dword [esi + 0xc]
mov word [eax + 0x36], di
mov edi, ecx
mov eax, dword [esi + 8]
mov dword [eax], edx
mov eax, dword [esi + 8]
mov dword [eax + 4], edx
cmp dword [esi + 0x24], edx
je 0x86861c
mov eax, dword [esi + 0xc]
push 5
pop edi
push 3
mov dword [eax + 0x38], str.QueryInterface
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
mov dword [eax + 0x40], 1
mov eax, dword [esi + 0xc]
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x48], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x4c], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov word [eax + 0x50], cx
mov eax, dword [esi + 0xc]
pop ecx
push 0x10
mov word [eax + 0x52], cx
call fcn.0081fe0b
pop ecx
mov ecx, dword [esi + 8]
xor edx, edx
push 0x48
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
pop ecx
push 0x13
mov eax, dword [eax + 8]
mov word [eax + 4], cx
mov ecx, 0x4013
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov word [eax + 0xc], cx
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [eax], edx
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [eax + 8], edx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx + 0x3c], eax
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov dword [eax + 0x54], str.AddRef
mov eax, dword [esi + 0xc]
mov dword [eax + 0x58], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x5c], 2
mov eax, dword [esi + 0xc]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x64], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x68], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x6c], cx
mov eax, dword [esi + 0xc]
pop ecx
push 3
mov word [eax + 0x6e], cx
mov eax, dword [esi + 8]
pop ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x70], str.Release
mov eax, dword [esi + 0xc]
mov dword [eax + 0x74], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x78], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x7c], 2
mov eax, dword [esi + 0xc]
mov dword [eax + 0x80], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x84], edx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
push 0x13
mov word [eax + 0x88], cx
mov eax, dword [esi + 0xc]
pop ecx
mov word [eax + 0x8a], cx
mov eax, dword [esi + 8]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x28], edx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
push 8
pop eax
test ebx, ebx
jle 0x868883
mov eax, dword [ebp - 0xc]
shl eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
imul edi, edi, 0x1c
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
movzx ebx, word [eax + ecx*2]
cmp bx, word [ebp - 0x30]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
jne 0x868679
xor edx, edx
mov word [eax + ecx*2], dx
lea edx, [ecx + 1]
lea edx, [eax + edx*2]
mov dword [ebp - 0x28], edx
jmp 0x868874
push 0xa
pop esi
cmp word [ebp - 0x18], si
mov esi, dword [ebp - 8]
je 0x868690
cmp word [ebp - 0x18], 0
jne 0x868874
xor ebx, ebx
mov word [eax + ecx*2], bx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 0xc]
lea ebx, [ecx + 1]
mov dword [eax + edi + 8], ebx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x38], ebx
mov dword [eax + edi + 0xc], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov word [eax + edi + 0x18], cx
xor eax, eax
mov dword [ebp - 0xc], eax
mov ecx, eax
movzx eax, word [edx]
mov ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
test ax, ax
je 0x868711
mov edi, edx
movzx ebx, ax
mov esi, ecx
push 0x3b
pop eax
cmp bx, ax
jne 0x8686f7
xor eax, eax
cmp word [edi + 2], ax
je 0x8686f2
inc esi
jmp 0x8686f7
xor eax, eax
mov word [edi], ax
inc ecx
lea edi, [edx + ecx*2]
movzx eax, word [edi]
mov ebx, eax
test ax, ax
jne 0x8686df
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x86873f
push 0x3b
pop ebx
cmp word [edx + eax*2], bx
mov ebx, dword [ebp + 8]
je 0x86872d
inc eax
cmp eax, ecx
jl 0x86871a
jmp 0x86873f
xor ecx, ecx
mov word [edx + eax*2], cx
inc eax
lea eax, [edx + eax*2]
cmp word [eax], cx
je 0x86873f
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0xc]
lea eax, [edi + 0x1a]
add eax, ecx
add ecx, 0x10
push eax
add ecx, edi
push ecx
push edx
call fcn.008678f5
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ecx + edi + 0x14], eax
xor ecx, ecx
test eax, eax
je 0x868840
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0081fe0b
mov edx, dword [ebp - 0x10]
pop ecx
mov ecx, dword [esi + 8]
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x868831
xor eax, eax
mov dword [ebp - 0x18], ecx
mov edx, eax
mov dword [ebp - 0xc], eax
movzx eax, word [ecx]
mov dword [ebp - 0x20], edx
mov ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp + 8]
test ax, ax
je 0x868808
mov ebx, ecx
movzx edi, ax
push 0x3b
pop eax
cmp di, ax
jne 0x8687f4
push dword [ebp - 0x18]
xor eax, eax
mov word [ebx], ax
call fcn.00868d7d
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov ecx, dword [edx + ecx]
mov word [ecx + edi*8 + 4], ax
xor ecx, ecx
mov eax, dword [esi + 8]
mov eax, dword [edx + eax]
mov edx, edi
mov dword [eax + edx*8], ecx
inc edx
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 2]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
inc edx
mov dword [ebp - 0x20], edx
lea ebx, [ecx + edx*2]
movzx eax, word [ebx]
mov edi, eax
test ax, ax
jne 0x8687b1
mov ebx, dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.00868d7d
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov ecx, dword [edx + ecx]
mov word [ecx + edi*8 + 4], ax
mov ecx, edi
mov eax, dword [esi + 8]
xor edi, edi
mov eax, dword [edx + eax]
mov dword [eax + ecx*8], edi
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + eax]
mov dword [ecx + edi + 4], eax
jmp 0x868850
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x10]
mov dword [edx + eax], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + edi + 4], ecx
mov eax, dword [ebp - 0x38]
add edx, 4
mov ecx, dword [ebp - 0x2c]
add edi, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], edi
lea edx, [eax + edx*2]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
jl 0x868655
push 8
pop eax
push eax
call fcn.0081fddb
pop ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
pop edi
pop esi
mov dword [ecx], eax
pop ebx
leave
ret 4