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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.kernel32.dll_lstrlenW]
mov dword [ebp - 0xc], eax
xor ecx, ecx
push 2
add eax, 6
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00840ff6
pop ecx
xor ecx, ecx
mov dword [esi + 4], eax
mov eax, ebx
mov ebx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], 0x7c
cmp dword [ebp - 0xc], ecx
jle 0x87ec8b
push 0x20
pop edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], 0x28
jmp 0x87eb69
inc ecx
cmp word [edi + ecx*2], dx
je 0x87eb68
movzx edx, word [edi + ecx*2]
cmp dx, word [ebp - 0x10]
je 0x87eb91
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 0x87eb79
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0x7c
pop edx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
pop eax
jmp 0x87eba6
inc ecx
cmp word [edi + ecx*2], ax
je 0x87eba5
jmp 0x87ebc0
cmp dx, word [ebp - 0x14]
je 0x87ebc9
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 0x87ebae
mov eax, dword [esi + 4]
push 0x3b
pop edx
push 0x20
mov word [eax + ebx*2], dx
inc ebx
pop eax
jmp 0x87ebda
inc ecx
cmp word [edi + ecx*2], ax
je 0x87ebd9
mov edx, dword [ebp - 0x14]
cmp word [edi + ecx*2], dx
jne 0x87ebea
inc ecx
cmp word [edi + ecx*2], ax
je 0x87ebe9
xor edx, edx
inc edx
jmp 0x87ebf9
pop eax
jmp 0x87ebf9
inc ecx
cmp word [edi + ecx*2], ax
je 0x87ebf8
jmp 0x87ec2c
cmp ax, word [ebp - 0x10]
jne 0x87ec11
push 0x20
pop eax
inc ecx
cmp word [edi + ecx*2], ax
je 0x87ec0a
movzx eax, word [edi + ecx*2]
mov dword [ebp - 0x2c], eax
cmp eax, 0x29
je 0x87ec3d
mov eax, dword [esi + 4]
inc ecx
mov edi, dword [ebp - 0x2c]
mov word [eax + ebx*2], di
inc ebx
mov edi, dword [ebp + 8]
movzx eax, word [edi + ecx*2]
push 0x3b
pop edi
cmp ax, di
mov edi, dword [ebp + 8]
jne 0x87ec01
jmp 0x87ec42
xor eax, eax
inc ecx
mov edx, eax
push 0x20
pop eax
jmp 0x87ec48
inc ecx
cmp word [edi + ecx*2], ax
je 0x87ec47
mov eax, dword [esi + 4]
test edx, edx
jne 0x87ec59
push 0xa
jmp 0x87ec5b
push 0x3b
pop edi
mov word [eax + ebx*2], di
inc ebx
mov edi, dword [ebp + 8]
push 0x3b
pop eax
cmp word [edi + ecx*2], ax
jne 0x87ec6e
inc ecx
xor eax, eax
inc eax
push 0x20
cmp edx, eax
je 0x87ebf5
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
pop edx
cmp ecx, dword [ebp - 0xc]
jl 0x87eb69
xor ecx, ecx
push 3
pop edx
cmp dword [esi + 0x24], ecx
je 0x87ec9a
add eax, edx
mov dword [ebp - 8], eax
xor ecx, ecx
push 4
pop edi
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00840ff6
mov dword [esi + 8], eax
xor ecx, ecx
mov eax, dword [ebp - 8]
push 0x1c
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00840ff6
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 + 8], 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 0x87ee8a
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 + 8], 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.00840ff6
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 - 0x1c], 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 0x87f0d3
mov eax, dword [ebp + 8]
shl eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
imul edi, edi, 0x1c
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], edi
movzx ebx, word [eax + ecx*2]
cmp bx, word [ebp - 0x30]
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
jne 0x87eee7
xor edx, edx
mov word [eax + ecx*2], dx
lea edx, [ecx + 1]
lea edx, [eax + edx*2]
mov dword [ebp - 0x28], edx
jmp 0x87f0c4
push 0xa
pop esi
cmp word [ebp + 8], si
mov esi, dword [ebp - 0x18]
je 0x87eefe
cmp word [ebp + 8], 0
jne 0x87f0c4
xor ebx, ebx
mov word [eax + ecx*2], bx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x20]
mov dword [edi + eax + 8], ebx
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 4]
mov dword [edi + eax + 0xc], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov word [edi + eax + 0x18], cx
xor eax, eax
mov ecx, eax
mov dword [ebp + 8], eax
cmp word [edx], ax
je 0x87ef74
push 0x3b
mov eax, edx
mov ebx, ecx
xor edi, edi
pop esi
cmp word [eax], si
jne 0x87ef5d
cmp word [eax + 2], di
je 0x87ef58
inc ebx
jmp 0x87ef5d
xor edi, edi
mov word [eax], di
inc ecx
lea eax, [edx + ecx*2]
cmp word [eax], di
jne 0x87ef4a
mov esi, dword [ebp - 0x18]
xor eax, eax
mov edi, dword [ebp - 0x14]
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x87efa2
push 0x3b
pop ebx
cmp word [edx + eax*2], bx
mov ebx, dword [ebp - 4]
je 0x87ef90
inc eax
cmp eax, ecx
jl 0x87ef7d
jmp 0x87efa2
xor ecx, ecx
mov word [edx + eax*2], cx
inc eax
lea eax, [edx + eax*2]
cmp word [eax], cx
je 0x87efa2
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 0x1a]
add ecx, 0x10
add eax, edi
add ecx, edi
push eax
push ecx
push edx
call fcn.0087e1af
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov dword [edi + ecx + 0x14], eax
xor ecx, ecx
test eax, eax
je 0x87f090
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00840ff6
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, dword [esi + 8]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x87f081
xor ecx, ecx
xor ebx, ebx
cmp word [eax], bx
mov edx, eax
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1c], ecx
je 0x87f05a
mov ebx, eax
push 0x3b
pop edi
cmp word [ebx], di
push 0
pop edi
jne 0x87f04b
xor eax, eax
push edx
mov word [ebx], ax
call fcn.0087f5ad
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ecx + edx]
mov word [ecx + edi*8 + 4], ax
mov ecx, edi
mov eax, dword [esi + 8]
mov eax, dword [eax + edx]
xor edx, edx
mov dword [eax + ecx*8], edx
inc ecx
mov eax, dword [ebp - 0x10]
lea edx, [ebx + 2]
mov dword [ebp + 8], ecx
xor edi, edi
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
lea ebx, [eax + ecx*2]
cmp word [ebx], di
jne 0x87f008
mov ebx, dword [ebp - 4]
push edx
call fcn.0087f5ad
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ecx + edx]
mov word [ecx + edi*8 + 4], ax
mov ecx, edi
mov eax, dword [esi + 8]
xor edi, edi
mov eax, dword [eax + edx]
mov dword [eax + ecx*8], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + eax]
mov dword [edi + ecx + 4], eax
jmp 0x87f0a0
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + eax], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + eax + 4], ecx
mov eax, dword [ebp - 0x20]
add edx, 4
mov ecx, dword [ebp - 0x2c]
add edi, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
lea edx, [ecx + 1]
mov dword [ebp - 0x14], edi
lea edx, [eax + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
jl 0x87eec3
push 8
pop eax
push eax
call fcn.00840ff6
pop ecx
mov ecx, dword [ebp - 8]
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
mov esp, ebp
pop ebp
ret 4